All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libselinux MLS range context contains for PAM/cron
@ 2006-11-07 21:57 James Antill
  2006-11-09 15:37 ` Stephen Smalley
  2006-11-14  0:14 ` Stephen Smalley
  0 siblings, 2 replies; 4+ messages in thread
From: James Antill @ 2006-11-07 21:57 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: redhat-lspp, SE Linux


[-- Attachment #1.1: Type: text/plain, Size: 146 bytes --]


 Here is the libselinux changes needed to do the security context
contains checks for PAM and cron.

-- 
James Antill <jantill@redhat.com>

[-- Attachment #1.2: libselinux MLS range checking bits, for cron and PAM --]
[-- Type: text/x-patch, Size: 987 bytes --]

Index: libselinux/include/selinux/av_permissions.h
===================================================================
--- libselinux/include/selinux/av_permissions.h	(revision 2076)
+++ libselinux/include/selinux/av_permissions.h	(working copy)
@@ -896,3 +896,4 @@
 #define KEY__SETATTR                              0x00000020UL
 #define KEY__CREATE                               0x00000040UL
 #define CONTEXT__TRANSLATE                        0x00000001UL
+#define CONTEXT__CONTAINS                         0x00000002UL
Index: libselinux/src/av_perm_to_string.h
===================================================================
--- libselinux/src/av_perm_to_string.h	(revision 2076)
+++ libselinux/src/av_perm_to_string.h	(working copy)
@@ -266,3 +266,4 @@
     S_(SECCLASS_KEY, KEY__SETATTR, "setattr")
     S_(SECCLASS_KEY, KEY__CREATE, "create")
     S_(SECCLASS_CONTEXT, CONTEXT__TRANSLATE, "translate")
+    S_(SECCLASS_CONTEXT, CONTEXT__CONTAINS, "contains")

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2006-11-14  0:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 21:57 [PATCH] libselinux MLS range context contains for PAM/cron James Antill
2006-11-09 15:37 ` Stephen Smalley
2006-11-09 16:49   ` Christopher J. PeBenito
2006-11-14  0:14 ` Stephen Smalley

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.