admin_amtu changes
Can you upstream this policy?
policy/modules/admin/amtu.fc +3 -0
@@ -0,0 +1,3 @@ + +/usr/bin/amtu -- gen_context(system_u:object_r:amtu_exec_t,s0) +
policy/modules/admin/amtu.if +53 -0
53 lines not on this page · raw message
policy/modules/admin/amtu.te +57 -0
57 lines not on this page · raw message
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 1 line · On Wed, 2007-05-30 at 11:30 -0400, [email protected] wrote:
Can you upstream this policy?
I added it with some rearranging and I dropped these rules:
policy/modules/admin/amtu.te line 21
Quoted 3 lines
policy/modules/admin/amtu.te +3
-0+allow amtu_t self:capability net_raw; +allow amtu_t self:packet_socket { bind create read write }; +allow amtu_t self:udp_socket { create ioctl };
because there isn't any corenetwork usage, so it can't actually use any network interfaces. Can you recheck these perms? Also, the perms in general seem light, is this policy complete?
Quoted 35 lines
policy/modules/admin/amtu.te +35
-0+files_manage_boot_files(amtu_t) +files_read_etc_runtime_files(amtu_t) +files_read_etc_files(amtu_t) + +kernel_read_system_state(amtu_t) + +libs_use_ld_so(amtu_t) +libs_use_shared_libs(amtu_t) + +logging_send_audit_msg(amtu_t) + +optional_policy(` + seutil_use_newrole_fds(amtu_t) +'); + +optional_policy(` + userdom_use_sysadm_fds(amtu_t) +'); + +optional_policy(` + userdom_sigchld_sysadm(amtu_t) +'); + +optional_policy(` + nscd_dontaudit_search_pid(amtu_t) +'); + +optional_policy(` + kernel_dontaudit_read_system_state(amtu_t) +'); + +optional_policy(` + term_dontaudit_search_ptys(amtu_t) +'); +
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 8 lines · Christopher J. PeBenito
Quoted 2 lines · On Wed, 2007-05-30 at 11:30 -0400, [email protected] wrote:
Can you upstream this policy?
I added it with some rearranging and I dropped these rules:
Quoted 10 lines
policy/modules/admin/amtu.te line 21
Quoted 4 lines
policy/modules/admin/amtu.te +3
-0+allow amtu_t self:capability net_raw; +allow amtu_t self:packet_socket { bind create read write }; +allow amtu_t self:udp_socket { create ioctl };because there isn't any corenetwork usage, so it can't actually use any network interfaces. Can you recheck these perms? Also, the perms in general seem light, is this policy complete?
Never used it, these came from the MLS test suite.
Quoted 28 lines
Quoted 28 lines
policy/modules/admin/amtu.te +28
-0+files_manage_boot_files(amtu_t) +files_read_etc_runtime_files(amtu_t) +files_read_etc_files(amtu_t) + +kernel_read_system_state(amtu_t) + +libs_use_ld_so(amtu_t) +libs_use_shared_libs(amtu_t) + +logging_send_audit_msg(amtu_t) + +optional_policy(` + seutil_use_newrole_fds(amtu_t) +'); + +optional_policy(` + userdom_use_sysadm_fds(amtu_t) +'); + +optional_policy(` + userdom_sigchld_sysadm(amtu_t) +'); + +optional_policy(` + nscd_dontaudit_search_pid(amtu_t) +'); + +optional_policy(`
Quoted 8 lines
policy/modules/admin/amtu.te line 57
Quoted 8 lines
policy/modules/admin/amtu.te +7
-0+ kernel_dontaudit_read_system_state(amtu_t) +'); + +optional_policy(` + term_dontaudit_search_ptys(amtu_t) +'); +
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.