All of lore.kernel.org
 help / color / mirror / Atom feed
* mail_client_macros.te
@ 2005-06-16 22:27 Russell Coker
  2005-06-16 23:19 ` mail_client_macros.te Ivan Gyurdiev
  0 siblings, 1 reply; 8+ messages in thread
From: Russell Coker @ 2005-06-16 22:27 UTC (permalink / raw)
  To: SE-Linux, Daniel J Walsh

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

The attached patch is needed to compile a policy without innd.te.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

[-- Attachment #2: diff --]
[-- Type: text/x-diff, Size: 716 bytes --]

--- macros/program/mail_client_macros.te.orig	2005-06-17 08:23:23.000000000 +1000
+++ macros/program/mail_client_macros.te	2005-06-17 08:24:19.000000000 +1000
@@ -25,8 +25,8 @@
 
 # Allow POP/IMAP/SMTP/NNTP/LDAP/IPP(printing)
 can_ypbind($1_t)
-can_network_client_tcp($1_t, { pop_port_t smtp_port_t innd_port_t ldap_port_t ipp_port_t })
-allow $1_t { pop_port_t smtp_port_t innd_port_t ldap_port_t ipp_port_t }:tcp_socket name_connect;
+can_network_client_tcp($1_t, { pop_port_t smtp_port_t ifdef(`innd.te', `innd_port_t') ldap_port_t ipp_port_t })
+allow $1_t { pop_port_t smtp_port_t ifdef(`innd.te', `innd_port_t') ldap_port_t ipp_port_t }:tcp_socket name_connect;
 
 # Allow printing the mail
 ifdef(`cups.te',`

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-06-17 13:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-16 22:27 mail_client_macros.te Russell Coker
2005-06-16 23:19 ` mail_client_macros.te Ivan Gyurdiev
2005-06-17  1:32   ` mail_client_macros.te Russell Coker
2005-06-17  1:56     ` mail_client_macros.te Ivan Gyurdiev
2005-06-17 11:33       ` mail_client_macros.te Stephen Smalley
2005-06-17 13:15         ` mail_client_macros.te Christopher J. PeBenito
2005-06-17  3:14     ` mail_client_macros.te Daniel J Walsh
2005-06-17  7:22       ` mail_client_macros.te Russell Coker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.