procmail changes for policy
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · On Mon, 2007-02-26 at 12:34 -0500, [email protected] wrote:
procmail uses /tmp files
Wants to send signull to itself
Can exec ls
Readspamassinn_lib_dirs
Merged, with a little reorg.
Quoted 47 lines
===File /tmp/patches/done/nsaserefpolicy_policy_modules_services_procmail.patch===
policy/modules/services/procmail.te +10
-3@@ -10,15 +10,19 @@ type procmail_exec_t; domain_type(procmail_t) domain_entry_file(procmail_t,procmail_exec_t) +userdom_executable_file(procmail_exec_t) role system_r types procmail_t; +type procmail_tmp_t; +files_tmp_file(procmail_tmp_t) + ######################################## # # Local policy # allow procmail_t self:capability { sys_nice chown setuid setgid dac_override }; -allow procmail_t self:process { setsched signal }; +allow procmail_t self:process { setsched signal signull }; allow procmail_t self:fifo_file rw_fifo_file_perms; allow procmail_t self:unix_stream_socket create_socket_perms; allow procmail_t self:unix_dgram_socket create_socket_perms;@@ -50,6 +54,10 @@ corecmd_exec_bin(procmail_t) corecmd_exec_shell(procmail_t) corecmd_dontaudit_search_sbin(procmail_t) +corecmd_exec_ls(procmail_t) + +allow procmail_t procmail_tmp_t:file create_file_perms; +files_tmp_filetrans(procmail_t, procmail_tmp_t, file) files_read_etc_files(procmail_t) files_read_etc_runtime_files(procmail_t)@@ -115,8 +123,7 @@ optional_policy(` corenet_udp_bind_generic_port(procmail_t) - files_getattr_tmp_dirs(procmail_t) - spamassassin_exec(procmail_t) spamassassin_exec_client(procmail_t) + spamassassin_read_lib_files(procmail_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.