All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] selinux-testsuite:  Allow test domains to read /etc/passwd
@ 2012-09-13 14:08 Stephen Smalley
  2012-09-13 15:27 ` Daniel J Walsh
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Smalley @ 2012-09-13 14:08 UTC (permalink / raw)
  To: Serge Hallyn; +Cc: selinux, Eric Paris

Several test cases require the ability to read /etc/passwd to look
up usernames.  Recent Fedora introduced a separate type on /etc/passwd
and therefore we need to add an interface call to test_global.te.  Fixes
three test failures on Fedora 17.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
---
 policy/test_global.te | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/policy/test_global.te b/policy/test_global.te
index 77121ae..fdfd291 100644
--- a/policy/test_global.te
+++ b/policy/test_global.te
@@ -88,3 +88,5 @@ selinux_compute_access_vector(testdomain)
 selinux_compute_create_context(testdomain)
 selinux_compute_relabel_context(testdomain)
 selinux_compute_user_contexts(testdomain)
+
+auth_read_passwd(testdomain)
-- 
1.7.11.4


-- 
Stephen Smalley
National Security Agency


--
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 related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-09-25 16:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-13 14:08 [PATCH] selinux-testsuite: Allow test domains to read /etc/passwd Stephen Smalley
2012-09-13 15:27 ` Daniel J Walsh
2012-09-14 18:29   ` [refpolicy] " Sven Vermeulen
2012-09-15  2:22   ` Serge E. Hallyn
2012-09-18 13:45     ` Stephen Smalley
2012-09-18 16:32       ` Daniel J Walsh
2012-09-18 17:20         ` Stephen Smalley
2012-09-20 16:31           ` Serge E. Hallyn
2012-09-21  8:46             ` Sven Vermeulen
2012-09-21 13:50               ` [PATCH] selinux-testsuite: Wrap auth_read_passwd with ifdef(`distro_redhat') Stephen Smalley
2012-09-25 16:47                 ` Serge E. Hallyn

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.