libselinux/libselinux-rhat.patch
Daniel J Walsh 2bcf9654c5 - Add James Antill patch for login verification of MLS Levels
- MLS ragnes need to be checked, Eg. login/cron. This patch adds
    infrastructure.
2006-11-03 22:14:51 +00:00

17 lines
1.1 KiB
Diff

diff --exclude-from=exclude -N -u -r nsalibselinux/include/selinux/av_permissions.h libselinux-1.33.1/include/selinux/av_permissions.h
--- nsalibselinux/include/selinux/av_permissions.h 2006-10-24 12:49:23.000000000 -0400
+++ libselinux-1.33.1/include/selinux/av_permissions.h 2006-11-03 16:56:52.000000000 -0500
@@ -896,3 +896,4 @@
#define KEY__SETATTR 0x00000020UL
#define KEY__CREATE 0x00000040UL
#define CONTEXT__TRANSLATE 0x00000001UL
+#define CONTEXT__CONTAINS 0x00000002UL
diff --exclude-from=exclude -N -u -r nsalibselinux/src/av_perm_to_string.h libselinux-1.33.1/src/av_perm_to_string.h
--- nsalibselinux/src/av_perm_to_string.h 2006-10-24 12:49:23.000000000 -0400
+++ libselinux-1.33.1/src/av_perm_to_string.h 2006-11-03 16:57:58.000000000 -0500
@@ -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")