Lines Matching refs:selinux_policy
241 struct selinux_policy *policy; in security_mls_enabled()
715 static int security_validtrans_handle_fail(struct selinux_policy *policy, in security_validtrans_handle_fail()
749 struct selinux_policy *policy; in security_compute_validatetrans()
853 struct selinux_policy *policy; in security_bounded_transition()
933 static void avd_init(struct selinux_policy *policy, struct av_decision *avd) in avd_init()
1005 struct selinux_policy *policy; in security_compute_xperms_decision()
1100 struct selinux_policy *policy; in security_compute_av()
1157 struct selinux_policy *policy; in security_compute_av_user()
1283 struct selinux_policy *policy; in security_sidtab_hash_stats()
1311 struct selinux_policy *policy; in security_sid_to_context_core()
1507 struct selinux_policy *policy; in security_context_to_sid_core()
1637 struct selinux_policy *policy, in compute_sid_handle_invalid_context()
1712 struct selinux_policy *policy; in security_compute_sid()
2115 static void security_load_policycaps(struct selinux_policy *policy) in security_load_policycaps()
2139 static int security_preserve_bools(struct selinux_policy *oldpolicy,
2140 struct selinux_policy *newpolicy);
2142 static void selinux_policy_free(struct selinux_policy *policy) in selinux_policy_free()
2154 static void selinux_policy_cond_free(struct selinux_policy *policy) in selinux_policy_cond_free()
2163 struct selinux_policy *oldpolicy; in selinux_policy_cancel()
2187 struct selinux_policy *oldpolicy, *newpolicy = load_state->policy; in selinux_policy_commit()
2255 struct selinux_policy *newpolicy, *oldpolicy; in security_load_policy()
2393 struct selinux_policy *policy; in security_port_sid()
2445 struct selinux_policy *policy; in security_ib_pkey_sid()
2497 struct selinux_policy *policy; in security_ib_endport_sid()
2549 struct selinux_policy *policy; in security_netif_sid()
2615 struct selinux_policy *policy; in security_node_sid()
2709 struct selinux_policy *policy; in security_get_user_sids()
2828 static inline int __security_genfs_sid(struct selinux_policy *policy, in __security_genfs_sid()
2884 struct selinux_policy *policy; in security_genfs_sid()
2902 int selinux_policy_genfs_sid(struct selinux_policy *policy, in selinux_policy_genfs_sid()
2918 struct selinux_policy *policy; in security_fs_use()
2974 int security_get_bools(struct selinux_policy *policy, in security_get_bools()
3030 struct selinux_policy *newpolicy, *oldpolicy; in security_set_bools()
3101 struct selinux_policy *policy; in security_get_bool_value()
3124 static int security_preserve_bools(struct selinux_policy *oldpolicy, in security_preserve_bools()
3125 struct selinux_policy *newpolicy) in security_preserve_bools()
3159 struct selinux_policy *policy; in security_sid_mls_copy()
3270 struct selinux_policy *policy; in security_net_peersid_resolve()
3354 int security_get_classes(struct selinux_policy *policy, in security_get_classes()
3395 int security_get_permissions(struct selinux_policy *policy, in security_get_permissions()
3443 struct selinux_policy *policy; in security_get_reject_unknown()
3458 struct selinux_policy *policy; in security_get_allow_unknown()
3483 struct selinux_policy *policy; in security_policycap_supported()
3516 struct selinux_policy *policy; in selinux_audit_rule_init()
3641 struct selinux_policy *policy; in selinux_audit_rule_match()
3821 struct selinux_policy *policy; in security_netlbl_secattr_to_sid()
3896 struct selinux_policy *policy; in security_netlbl_sid_to_secattr()
3936 static int __security_read_policy(struct selinux_policy *policy, in __security_read_policy()
3962 struct selinux_policy *policy; in security_read_policy()
3992 struct selinux_policy *policy; in security_read_state_kernel()