• Home
  • Raw
  • Download

Lines Matching refs:selinux_state

90 struct selinux_state {  struct
113 extern struct selinux_state selinux_state; argument
115 static inline bool selinux_initialized(const struct selinux_state *state) in selinux_initialized()
121 static inline void selinux_mark_initialized(struct selinux_state *state) in selinux_mark_initialized()
128 static inline bool enforcing_enabled(struct selinux_state *state) in enforcing_enabled()
133 static inline void enforcing_set(struct selinux_state *state, bool value) in enforcing_set()
138 static inline bool enforcing_enabled(struct selinux_state *state) in enforcing_enabled()
143 static inline void enforcing_set(struct selinux_state *state, bool value) in enforcing_set()
148 static inline bool checkreqprot_get(const struct selinux_state *state) in checkreqprot_get()
153 static inline void checkreqprot_set(struct selinux_state *state, bool value) in checkreqprot_set()
159 static inline bool selinux_disabled(struct selinux_state *state) in selinux_disabled()
164 static inline void selinux_mark_disabled(struct selinux_state *state) in selinux_mark_disabled()
169 static inline bool selinux_disabled(struct selinux_state *state) in selinux_disabled()
177 struct selinux_state *state = &selinux_state; in selinux_policycap_netpeer()
184 struct selinux_state *state = &selinux_state; in selinux_policycap_openperm()
191 struct selinux_state *state = &selinux_state; in selinux_policycap_extsockclass()
198 struct selinux_state *state = &selinux_state; in selinux_policycap_alwaysnetwork()
205 struct selinux_state *state = &selinux_state; in selinux_policycap_cgroupseclabel()
212 struct selinux_state *state = &selinux_state; in selinux_policycap_nnp_nosuid_transition()
219 struct selinux_state *state = &selinux_state; in selinux_policycap_genfs_seclabel_symlinks()
226 struct selinux_state *state = &selinux_state; in selinux_policycap_ioctl_skip_cloexec()
233 struct selinux_state *state = &selinux_state; in selinux_android_nlroute_getlink()
240 struct selinux_state *state = &selinux_state; in selinux_android_nlroute_getneigh()
252 int security_mls_enabled(struct selinux_state *state);
253 int security_load_policy(struct selinux_state *state,
256 void selinux_policy_commit(struct selinux_state *state,
258 void selinux_policy_cancel(struct selinux_state *state,
260 int security_read_policy(struct selinux_state *state,
262 int security_read_state_kernel(struct selinux_state *state,
264 int security_policycap_supported(struct selinux_state *state,
302 void security_compute_av(struct selinux_state *state,
307 void security_compute_xperms_decision(struct selinux_state *state,
312 void security_compute_av_user(struct selinux_state *state,
316 int security_transition_sid(struct selinux_state *state,
320 int security_transition_sid_user(struct selinux_state *state,
324 int security_member_sid(struct selinux_state *state, u32 ssid, u32 tsid,
327 int security_change_sid(struct selinux_state *state, u32 ssid, u32 tsid,
330 int security_sid_to_context(struct selinux_state *state, u32 sid,
333 int security_sid_to_context_force(struct selinux_state *state,
336 int security_sid_to_context_inval(struct selinux_state *state,
339 int security_context_to_sid(struct selinux_state *state,
343 int security_context_str_to_sid(struct selinux_state *state,
346 int security_context_to_sid_default(struct selinux_state *state,
350 int security_context_to_sid_force(struct selinux_state *state,
354 int security_get_user_sids(struct selinux_state *state,
358 int security_port_sid(struct selinux_state *state,
361 int security_ib_pkey_sid(struct selinux_state *state,
364 int security_ib_endport_sid(struct selinux_state *state,
367 int security_netif_sid(struct selinux_state *state,
370 int security_node_sid(struct selinux_state *state,
374 int security_validate_transition(struct selinux_state *state,
378 int security_validate_transition_user(struct selinux_state *state,
382 int security_bounded_transition(struct selinux_state *state,
385 int security_sid_mls_copy(struct selinux_state *state,
388 int security_net_peersid_resolve(struct selinux_state *state,
397 int security_get_reject_unknown(struct selinux_state *state);
398 int security_get_allow_unknown(struct selinux_state *state);
409 int security_fs_use(struct selinux_state *state, struct super_block *sb);
411 int security_genfs_sid(struct selinux_state *state,
420 int security_netlbl_secattr_to_sid(struct selinux_state *state,
424 int security_netlbl_sid_to_secattr(struct selinux_state *state,
428 static inline int security_netlbl_secattr_to_sid(struct selinux_state *state, in security_netlbl_secattr_to_sid()
435 static inline int security_netlbl_sid_to_secattr(struct selinux_state *state, in security_netlbl_sid_to_secattr()
448 extern struct page *selinux_kernel_status_page(struct selinux_state *state);
462 extern void selinux_status_update_setenforce(struct selinux_state *state,
464 extern void selinux_status_update_policyload(struct selinux_state *state,
467 extern int selinux_disable(struct selinux_state *state);
477 extern int security_sidtab_hash_stats(struct selinux_state *state, char *page);