|
From: <ssm...@us...> - 2008-02-28 20:40:01
|
Revision: 2823
http://selinux.svn.sourceforge.net/selinux/?rev=2823&view=rev
Author: ssmalley
Date: 2008-02-28 12:39:59 -0800 (Thu, 28 Feb 2008)
Log Message:
-----------
Author: Eric Paris
Email: ep...@re...
Subject: libsepol: new capability to support open permissions
Date: Thu, 28 Feb 2008 10:09:54 -0500
This patch adds support for the new open_perms policy capability.
Simple yet true. I would like to point out that after this change
checkpolicy will also need to be rebuilt with the new libsepol-static
installed.
Acked-by: Stephen Smalley <sd...@ty...>
Modified Paths:
--------------
trunk/libsepol/include/sepol/policydb/polcaps.h
trunk/libsepol/src/polcaps.c
Modified: trunk/libsepol/include/sepol/policydb/polcaps.h
===================================================================
--- trunk/libsepol/include/sepol/policydb/polcaps.h 2008-02-28 20:38:55 UTC (rev 2822)
+++ trunk/libsepol/include/sepol/policydb/polcaps.h 2008-02-28 20:39:59 UTC (rev 2823)
@@ -4,6 +4,7 @@
/* Policy capabilities */
enum {
POLICYDB_CAPABILITY_NETPEER,
+ POLICYDB_CAPABILITY_OPENPERM,
__POLICYDB_CAPABILITY_MAX
};
#define POLICYDB_CAPABILITY_MAX (__POLICYDB_CAPABILITY_MAX - 1)
Modified: trunk/libsepol/src/polcaps.c
===================================================================
--- trunk/libsepol/src/polcaps.c 2008-02-28 20:38:55 UTC (rev 2822)
+++ trunk/libsepol/src/polcaps.c 2008-02-28 20:39:59 UTC (rev 2823)
@@ -7,6 +7,7 @@
static const char *polcap_names[] = {
"network_peer_controls", /* POLICYDB_CAPABILITY_NETPEER */
+ "open_perms", /* POLICYDB_CAPABILITY_OPENPERM */
NULL
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|