Skip to contentSkip to conversation

Procmail needs to use ypbind, eliminate bogus udp avc messages

PATCH [email protected] 2 participants 2 messages May 30, 2007 – Jun 21, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/services/procmail.te +7 -0
@@ -101,6 +102,10 @@
 ')
 
 optional_policy(`
+	nis_use_ypbind(procmail_t)
+')
+
+optional_policy(`
 	# for a bug in the postfix local program
 	postfix_dontaudit_rw_local_tcp_sockets(procmail_t)
 	postfix_dontaudit_use_fds(procmail_t)
@@ -119,8 +124,11 @@
 
 optional_policy(`
 	corenet_udp_bind_generic_port(procmail_t)
+	corenet_dontaudit_udp_bind_all_ports(procmail_t)
 
 	spamassassin_exec(procmail_t)
 	spamassassin_exec_client(procmail_t)
 	spamassassin_read_lib_files(procmail_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.

#1 lore raw
Quoted 15 lines · On Wed, 2007-05-30 at 10:29 -0400, [email protected] wrote:
policy/modules/services/procmail.te +4 -0
@@ -101,6 +102,10 @@
 ')
 
 optional_policy(`
+	nis_use_ypbind(procmail_t)
+')
+
+optional_policy(`
 	# for a bug in the postfix local program
 	postfix_dontaudit_rw_local_tcp_sockets(procmail_t)
 	postfix_dontaudit_use_fds(procmail_t)
@@ -119,8 +124,11 @@
 

policy/modules/services/procmail.te line 134

Quoted 10 lines
policy/modules/services/procmail.te +3 -0
 optional_policy(`
 	corenet_udp_bind_generic_port(procmail_t)
+	corenet_dontaudit_udp_bind_all_ports(procmail_t)
 
 	spamassassin_exec(procmail_t)
 	spamassassin_exec_client(procmail_t)
 	spamassassin_read_lib_files(procmail_t)
 ')
+
+

Merged, minus the extra whitespace at the end.

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.