libsepol: add new file setsuid_perms policy capability
PATCH 1/1 libsepol: add new file setsuid_perms policy capability
This patch adds the new policy capability called setsuid to libsepol. This is needed to support the file permission setsuid.
Signed-off-by Eric Paris <[email protected]>
---
include/sepol/policydb/polcaps.h +1 -0
@@ -5,6 +5,7 @@enum {POLICYDB_CAPABILITY_NETPEER ,POLICYDB_CAPABILITY_OPENPERM , +POLICYDB_CAPABILITY_SETSUIDPERM , __POLICYDB_CAPABILITY_MAX };#define POLICYDB_CAPABILITY_MAX (__POLICYDB_CAPABILITY_MAX - 1)
src/polcaps.c +1 -0
@@ -8,6 +8,7 @@static const char *polcap_names[] = {"network_peer_controls" ,/* POLICYDB_CAPABILITY_NETPEER */ "open_perms" ,/* POLICYDB_CAPABILITY_OPENPERM */ +"setsuid_perms" ,/* POLICYDB_CAPABILITY_SUIDPERM */ 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.