security.h (9e2fe574c02bde46307255467a5e4291f65227fe) | security.h (65881e1db4e948614d9eb195b8e1197339822949) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Security server interface. 4 * 5 * Author : Stephen Smalley, <sds@tycho.nsa.gov> 6 * 7 */ 8 --- 205 unchanged lines hidden (view full) --- 214 215static inline bool selinux_policycap_genfs_seclabel_symlinks(void) 216{ 217 struct selinux_state *state = &selinux_state; 218 219 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_GENFS_SECLABEL_SYMLINKS]); 220} 221 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Security server interface. 4 * 5 * Author : Stephen Smalley, <sds@tycho.nsa.gov> 6 * 7 */ 8 --- 205 unchanged lines hidden (view full) --- 214 215static inline bool selinux_policycap_genfs_seclabel_symlinks(void) 216{ 217 struct selinux_state *state = &selinux_state; 218 219 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_GENFS_SECLABEL_SYMLINKS]); 220} 221 |
222static inline bool selinux_policycap_ioctl_skip_cloexec(void) 223{ 224 struct selinux_state *state = &selinux_state; 225 226 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_IOCTL_SKIP_CLOEXEC]); 227} 228 |
|
222struct selinux_policy_convert_data; 223 224struct selinux_load_state { 225 struct selinux_policy *policy; 226 struct selinux_policy_convert_data *convert_data; 227}; 228 229int security_mls_enabled(struct selinux_state *state); --- 227 unchanged lines hidden --- | 229struct selinux_policy_convert_data; 230 231struct selinux_load_state { 232 struct selinux_policy *policy; 233 struct selinux_policy_convert_data *convert_data; 234}; 235 236int security_mls_enabled(struct selinux_state *state); --- 227 unchanged lines hidden --- |