policycap.h (cbecf716ca618fd44feda6bd9a64a8179d031fc5) | policycap.h (65881e1db4e948614d9eb195b8e1197339822949) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _SELINUX_POLICYCAP_H_ 3#define _SELINUX_POLICYCAP_H_ 4 5/* Policy capabilities */ 6enum { 7 POLICYDB_CAPABILITY_NETPEER, 8 POLICYDB_CAPABILITY_OPENPERM, 9 POLICYDB_CAPABILITY_EXTSOCKCLASS, 10 POLICYDB_CAPABILITY_ALWAYSNETWORK, 11 POLICYDB_CAPABILITY_CGROUPSECLABEL, 12 POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION, 13 POLICYDB_CAPABILITY_GENFS_SECLABEL_SYMLINKS, | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _SELINUX_POLICYCAP_H_ 3#define _SELINUX_POLICYCAP_H_ 4 5/* Policy capabilities */ 6enum { 7 POLICYDB_CAPABILITY_NETPEER, 8 POLICYDB_CAPABILITY_OPENPERM, 9 POLICYDB_CAPABILITY_EXTSOCKCLASS, 10 POLICYDB_CAPABILITY_ALWAYSNETWORK, 11 POLICYDB_CAPABILITY_CGROUPSECLABEL, 12 POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION, 13 POLICYDB_CAPABILITY_GENFS_SECLABEL_SYMLINKS, |
14 POLICYDB_CAPABILITY_IOCTL_SKIP_CLOEXEC, |
|
14 __POLICYDB_CAPABILITY_MAX 15}; 16#define POLICYDB_CAPABILITY_MAX (__POLICYDB_CAPABILITY_MAX - 1) 17 18extern const char *selinux_policycap_names[__POLICYDB_CAPABILITY_MAX]; 19 20#endif /* _SELINUX_POLICYCAP_H_ */ | 15 __POLICYDB_CAPABILITY_MAX 16}; 17#define POLICYDB_CAPABILITY_MAX (__POLICYDB_CAPABILITY_MAX - 1) 18 19extern const char *selinux_policycap_names[__POLICYDB_CAPABILITY_MAX]; 20 21#endif /* _SELINUX_POLICYCAP_H_ */ |