All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] dbus/lvm read domain state
@ 2009-03-15 16:09 Martin Orr
  2009-03-15 23:23 ` Russell Coker
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Orr @ 2009-03-15 16:09 UTC (permalink / raw)
  To: Christopher J. PeBenito; +Cc: SELinux List

Both dbus and lvm want to read other processes' command lines.

In the case of dbus, this is for use in log messages, which is probably useful.

In the case of lvm, it is just to print in a warning if the parent process
leaks fds to it, which I doubt is important enough to allow.

Index: policy/modules/services/dbus.te
===================================================================
--- policy/modules/services/dbus.te.orig
+++ policy/modules/services/dbus.te
@@ -94,6 +94,7 @@
 corecmd_read_bin_sockets(system_dbusd_t)
 corecmd_exec_bin(system_dbusd_t)

+domain_read_all_domains_state(system_dbusd_t)
 domain_use_interactive_fds(system_dbusd_t)

 files_read_etc_files(system_dbusd_t)
Index: policy/modules/system/lvm.te
===================================================================
--- policy/modules/system/lvm.te.orig
+++ policy/modules/system/lvm.te
@@ -243,6 +243,7 @@
 corecmd_exec_bin(lvm_t)
 corecmd_exec_shell(lvm_t)

+domain_dontaudit_read_all_domains_state(lvm_t)
 domain_use_interactive_fds(lvm_t)

 files_read_etc_files(lvm_t)

-- 
Martin Orr

--
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] 3+ messages in thread

end of thread, other threads:[~2009-03-31 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-15 16:09 [refpolicy] dbus/lvm read domain state Martin Orr
2009-03-15 23:23 ` Russell Coker
2009-03-31 14:51   ` Martin Orr

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.