Lines Matching refs:selinux_state

244 int security_mls_enabled(struct selinux_state *state)  in security_mls_enabled()
718 static int security_validtrans_handle_fail(struct selinux_state *state, in security_validtrans_handle_fail()
748 static int security_compute_validatetrans(struct selinux_state *state, in security_compute_validatetrans()
828 int security_validate_transition_user(struct selinux_state *state, in security_validate_transition_user()
836 int security_validate_transition(struct selinux_state *state, in security_validate_transition()
853 int security_bounded_transition(struct selinux_state *state, in security_bounded_transition()
935 static void avd_init(struct selinux_state *state, struct av_decision *avd) in avd_init()
998 void security_compute_xperms_decision(struct selinux_state *state, in security_compute_xperms_decision()
1092 void security_compute_av(struct selinux_state *state, in security_compute_av()
1149 void security_compute_av_user(struct selinux_state *state, in security_compute_av_user()
1267 static int security_sid_to_context_core(struct selinux_state *state, in security_sid_to_context_core()
1337 int security_sid_to_context(struct selinux_state *state, in security_sid_to_context()
1344 int security_sid_to_context_force(struct selinux_state *state, u32 sid, in security_sid_to_context_force()
1364 int security_sid_to_context_inval(struct selinux_state *state, u32 sid, in security_sid_to_context_inval()
1452 static int security_context_to_sid_core(struct selinux_state *state, in security_context_to_sid_core()
1526 int security_context_to_sid(struct selinux_state *state, in security_context_to_sid()
1534 int security_context_str_to_sid(struct selinux_state *state, in security_context_str_to_sid()
1559 int security_context_to_sid_default(struct selinux_state *state, in security_context_to_sid_default()
1567 int security_context_to_sid_force(struct selinux_state *state, in security_context_to_sid_force()
1576 struct selinux_state *state, in compute_sid_handle_invalid_context()
1636 static int security_compute_sid(struct selinux_state *state, in security_compute_sid()
1829 int security_transition_sid(struct selinux_state *state, in security_transition_sid()
1838 int security_transition_sid_user(struct selinux_state *state, in security_transition_sid_user()
1860 int security_member_sid(struct selinux_state *state, in security_member_sid()
1884 int security_change_sid(struct selinux_state *state, in security_change_sid()
1896 struct selinux_state *state, in convert_context_handle_invalid_context()
1915 struct selinux_state *state;
2050 static void security_load_policycaps(struct selinux_state *state) in security_load_policycaps()
2071 static int security_preserve_bools(struct selinux_state *state,
2084 int security_load_policy(struct selinux_state *state, void *data, size_t len) in security_load_policy()
2241 size_t security_policydb_len(struct selinux_state *state) in security_policydb_len()
2259 int security_port_sid(struct selinux_state *state, in security_port_sid()
2305 int security_ib_pkey_sid(struct selinux_state *state, in security_ib_pkey_sid()
2351 int security_ib_endport_sid(struct selinux_state *state, in security_ib_endport_sid()
2397 int security_netif_sid(struct selinux_state *state, in security_netif_sid()
2459 int security_node_sid(struct selinux_state *state, in security_node_sid()
2548 int security_get_user_sids(struct selinux_state *state, in security_get_user_sids()
2668 static inline int __security_genfs_sid(struct selinux_state *state, in __security_genfs_sid()
2731 int security_genfs_sid(struct selinux_state *state, in security_genfs_sid()
2749 int security_fs_use(struct selinux_state *state, struct super_block *sb) in security_fs_use()
2795 int security_get_bools(struct selinux_state *state, in security_get_bools()
2853 int security_set_bools(struct selinux_state *state, int len, int *values) in security_set_bools()
2905 int security_get_bool_value(struct selinux_state *state, in security_get_bool_value()
2927 static int security_preserve_bools(struct selinux_state *state, in security_preserve_bools()
2963 int security_sid_mls_copy(struct selinux_state *state, in security_sid_mls_copy()
3058 int security_net_peersid_resolve(struct selinux_state *state, in security_net_peersid_resolve()
3138 int security_get_classes(struct selinux_state *state, in security_get_classes()
3185 int security_get_permissions(struct selinux_state *state, in security_get_permissions()
3232 int security_get_reject_unknown(struct selinux_state *state) in security_get_reject_unknown()
3237 int security_get_allow_unknown(struct selinux_state *state) in security_get_allow_unknown()
3252 int security_policycap_supported(struct selinux_state *state, in security_policycap_supported()
3282 struct selinux_state *state = &selinux_state; in selinux_audit_rule_init()
3406 struct selinux_state *state = &selinux_state; in selinux_audit_rule_match()
3582 int security_netlbl_secattr_to_sid(struct selinux_state *state, in security_netlbl_secattr_to_sid()
3652 int security_netlbl_sid_to_secattr(struct selinux_state *state, in security_netlbl_sid_to_secattr()
3691 int security_read_policy(struct selinux_state *state, in security_read_policy()