libsepol: new capability to support open permissions
PATCH 1/1 libsepol: new capability to support open permissions
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.
-Eric
---
include/sepol/policydb/polcaps.h +1 -0
@@ -4,6 +4,7 @@/* Policy capabilities */ enum {POLICYDB_CAPABILITY_NETPEER , +POLICYDB_CAPABILITY_OPENPERM , __POLICYDB_CAPABILITY_MAX };#define POLICYDB_CAPABILITY_MAX (__POLICYDB_CAPABILITY_MAX - 1)
src/polcaps.c +1 -0
@@ -7,6 +7,7 @@static const char *polcap_names[] = {"network_peer_controls" ,/* POLICYDB_CAPABILITY_NETPEER */ +"open_perms" ,/* POLICYDB_CAPABILITY_OPENPERM */ NULL };
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Eric Paris
This patch adds support for the new
open_permspolicy 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.
Quoted 33 lines
-Eric
---
diff -Naupr
libsepol-2.0.21/include/sepol/policydb/polcaps.hlibsepol-2.0.21.new/include/sepol/policydb/polcaps.hinclude/sepol/policydb/polcaps.h +1
-0@@ -4,6 +4,7 @@/* Policy capabilities */ enum {POLICYDB_CAPABILITY_NETPEER , +POLICYDB_CAPABILITY_OPENPERM , __POLICYDB_CAPABILITY_MAX };#define POLICYDB_CAPABILITY_MAX (__POLICYDB_CAPABILITY_MAX - 1)diff -Naupr
libsepol-2.0.21/src/polcaps.clibsepol-2.0.21.new/src/polcaps.csrc/polcaps.c +1
-1@@ -7,6 +7,7 @@static const char *polcap_names[] = {"network_peer_controls" ,/* POLICYDB_CAPABILITY_NETPEER */ +"open_perms" ,/* POLICYDB_CAPABILITY_OPENPERM */ NULL }; --This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Signature · 8 lines
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Eric Paris
This patch adds support for the new
open_permspolicy 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.
Merged.
Signature · 8 lines
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.