All of lore.kernel.org
 help / color / mirror / Atom feed
* recommending interfaces for audit2allow
@ 2010-07-10  0:22 Russell Coker
  2010-07-14 12:26 ` Joshua Brindle
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Coker @ 2010-07-10  0:22 UTC (permalink / raw)
  To: SE-Linux

corenet_tcp_connect_mysqld_port(foo_milter_t)

I think that we need a way for an interface file to recommend itself to have a 
higher priority for certain matches.  For example the above policy line does 
permit foo_milter_t to talk to a MySQL server on a different system.  But you 
probably want something like the following:

mysql_tcp_connect(foo_milter_t)
optional_policy(`
  mysql_stream_connect(foo_milter_t)
')

So it seems that audit2allow should know that mysql_tcp_connect() is a 
preferred option to corenet_tcp_connect_mysqld_port() and that having an 
option to connect to a Unix domain socket would be good.

Also maybe we should have a single interface with an optional section for 
MySQL client access.

-- 
russell@coker.com.au
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2010-07-14 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-10  0:22 recommending interfaces for audit2allow Russell Coker
2010-07-14 12:26 ` Joshua Brindle

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.