security.h (d91c1ab470edd94e52bca738e53b5ad0f0247176) | security.h (5b0eea835d4e9cb5229e696c5763929fc2394f39) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Security server interface. 4 * 5 * Author : Stephen Smalley, <sds@tycho.nsa.gov> 6 * 7 */ 8 --- 175 unchanged lines hidden (view full) --- 184} 185 186static inline bool selinux_policycap_ioctl_skip_cloexec(void) 187{ 188 return READ_ONCE( 189 selinux_state.policycap[POLICYDB_CAP_IOCTL_SKIP_CLOEXEC]); 190} 191 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Security server interface. 4 * 5 * Author : Stephen Smalley, <sds@tycho.nsa.gov> 6 * 7 */ 8 --- 175 unchanged lines hidden (view full) --- 184} 185 186static inline bool selinux_policycap_ioctl_skip_cloexec(void) 187{ 188 return READ_ONCE( 189 selinux_state.policycap[POLICYDB_CAP_IOCTL_SKIP_CLOEXEC]); 190} 191 |
192static inline bool selinux_policycap_userspace_initial_context(void) 193{ 194 return READ_ONCE( 195 selinux_state.policycap[POLICYDB_CAP_USERSPACE_INITIAL_CONTEXT]); 196} 197 |
|
192struct selinux_policy_convert_data; 193 194struct selinux_load_state { 195 struct selinux_policy *policy; 196 struct selinux_policy_convert_data *convert_data; 197}; 198 199int security_mls_enabled(void); --- 186 unchanged lines hidden --- | 198struct selinux_policy_convert_data; 199 200struct selinux_load_state { 201 struct selinux_policy *policy; 202 struct selinux_policy_convert_data *convert_data; 203}; 204 205int security_mls_enabled(void); --- 186 unchanged lines hidden --- |