1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 2 3 #ifndef _SELINUX_POLICYCAP_H_ 3 #ifndef _SELINUX_POLICYCAP_H_ 4 #define _SELINUX_POLICYCAP_H_ 4 #define _SELINUX_POLICYCAP_H_ 5 5 6 /* Policy capabilities */ 6 /* Policy capabilities */ 7 enum { 7 enum { 8 POLICYDB_CAP_NETPEER, 8 POLICYDB_CAP_NETPEER, 9 POLICYDB_CAP_OPENPERM, 9 POLICYDB_CAP_OPENPERM, 10 POLICYDB_CAP_EXTSOCKCLASS, 10 POLICYDB_CAP_EXTSOCKCLASS, 11 POLICYDB_CAP_ALWAYSNETWORK, 11 POLICYDB_CAP_ALWAYSNETWORK, 12 POLICYDB_CAP_CGROUPSECLABEL, 12 POLICYDB_CAP_CGROUPSECLABEL, 13 POLICYDB_CAP_NNP_NOSUID_TRANSITION, 13 POLICYDB_CAP_NNP_NOSUID_TRANSITION, 14 POLICYDB_CAP_GENFS_SECLABEL_SYMLINKS, 14 POLICYDB_CAP_GENFS_SECLABEL_SYMLINKS, 15 POLICYDB_CAP_IOCTL_SKIP_CLOEXEC, 15 POLICYDB_CAP_IOCTL_SKIP_CLOEXEC, 16 POLICYDB_CAP_USERSPACE_INITIAL_CONTEXT 16 POLICYDB_CAP_USERSPACE_INITIAL_CONTEXT, 17 __POLICYDB_CAP_MAX 17 __POLICYDB_CAP_MAX 18 }; 18 }; 19 #define POLICYDB_CAP_MAX (__POLICYDB_CAP_MAX - 19 #define POLICYDB_CAP_MAX (__POLICYDB_CAP_MAX - 1) 20 20 21 extern const char *const selinux_policycap_nam 21 extern const char *const selinux_policycap_names[__POLICYDB_CAP_MAX]; 22 22 23 #endif /* _SELINUX_POLICYCAP_H_ */ 23 #endif /* _SELINUX_POLICYCAP_H_ */ 24 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.