policycap.h (4f2c0a4acffbec01079c28f839422e64ddeff004) | policycap.h (5b0eea835d4e9cb5229e696c5763929fc2394f39) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _SELINUX_POLICYCAP_H_ 3#define _SELINUX_POLICYCAP_H_ 4 5/* Policy capabilities */ 6enum { 7 POLICYDB_CAP_NETPEER, 8 POLICYDB_CAP_OPENPERM, 9 POLICYDB_CAP_EXTSOCKCLASS, 10 POLICYDB_CAP_ALWAYSNETWORK, 11 POLICYDB_CAP_CGROUPSECLABEL, 12 POLICYDB_CAP_NNP_NOSUID_TRANSITION, 13 POLICYDB_CAP_GENFS_SECLABEL_SYMLINKS, 14 POLICYDB_CAP_IOCTL_SKIP_CLOEXEC, | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _SELINUX_POLICYCAP_H_ 3#define _SELINUX_POLICYCAP_H_ 4 5/* Policy capabilities */ 6enum { 7 POLICYDB_CAP_NETPEER, 8 POLICYDB_CAP_OPENPERM, 9 POLICYDB_CAP_EXTSOCKCLASS, 10 POLICYDB_CAP_ALWAYSNETWORK, 11 POLICYDB_CAP_CGROUPSECLABEL, 12 POLICYDB_CAP_NNP_NOSUID_TRANSITION, 13 POLICYDB_CAP_GENFS_SECLABEL_SYMLINKS, 14 POLICYDB_CAP_IOCTL_SKIP_CLOEXEC, |
15 POLICYDB_CAP_USERSPACE_INITIAL_CONTEXT, |
|
15 __POLICYDB_CAP_MAX 16}; 17#define POLICYDB_CAP_MAX (__POLICYDB_CAP_MAX - 1) 18 19extern const char *const selinux_policycap_names[__POLICYDB_CAP_MAX]; 20 21#endif /* _SELINUX_POLICYCAP_H_ */ | 16 __POLICYDB_CAP_MAX 17}; 18#define POLICYDB_CAP_MAX (__POLICYDB_CAP_MAX - 1) 19 20extern const char *const selinux_policycap_names[__POLICYDB_CAP_MAX]; 21 22#endif /* _SELINUX_POLICYCAP_H_ */ |