xref: /kernel/linux/linux-5.10/security/selinux/include/policycap.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/security/selinux/include/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _SELINUX_POLICYCAP_H_
38c2ecf20Sopenharmony_ci#define _SELINUX_POLICYCAP_H_
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/* Policy capabilities */
68c2ecf20Sopenharmony_cienum {
78c2ecf20Sopenharmony_ci	POLICYDB_CAPABILITY_NETPEER,
88c2ecf20Sopenharmony_ci	POLICYDB_CAPABILITY_OPENPERM,
98c2ecf20Sopenharmony_ci	POLICYDB_CAPABILITY_EXTSOCKCLASS,
108c2ecf20Sopenharmony_ci	POLICYDB_CAPABILITY_ALWAYSNETWORK,
118c2ecf20Sopenharmony_ci	POLICYDB_CAPABILITY_CGROUPSECLABEL,
128c2ecf20Sopenharmony_ci	POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION,
138c2ecf20Sopenharmony_ci	POLICYDB_CAPABILITY_GENFS_SECLABEL_SYMLINKS,
148c2ecf20Sopenharmony_ci	POLICYDB_CAPABILITY_IOCTL_SKIP_CLOEXEC,
158c2ecf20Sopenharmony_ci	__POLICYDB_CAPABILITY_MAX
168c2ecf20Sopenharmony_ci};
178c2ecf20Sopenharmony_ci#define POLICYDB_CAPABILITY_MAX (__POLICYDB_CAPABILITY_MAX - 1)
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciextern const char *selinux_policycap_names[__POLICYDB_CAPABILITY_MAX];
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#endif /* _SELINUX_POLICYCAP_H_ */
22

Indexes created Thu Nov 07 10:32:03 CST 2024