selinux_state 413 security/selinux/avc.c static inline int avc_xperms_audit(struct selinux_state *state, selinux_state 755 security/selinux/avc.c noinline int slow_avc_audit(struct selinux_state *state, selinux_state 995 security/selinux/avc.c struct avc_node *avc_compute_av(struct selinux_state *state, selinux_state 1007 security/selinux/avc.c static noinline int avc_denied(struct selinux_state *state, selinux_state 1032 security/selinux/avc.c int avc_has_extended_perms(struct selinux_state *state, selinux_state 1129 security/selinux/avc.c inline int avc_has_perm_noaudit(struct selinux_state *state, selinux_state 1176 security/selinux/avc.c int avc_has_perm(struct selinux_state *state, u32 ssid, u32 tsid, u16 tclass, selinux_state 1192 security/selinux/avc.c int avc_has_perm_flags(struct selinux_state *state, selinux_state 1211 security/selinux/avc.c u32 avc_policy_seqno(struct selinux_state *state) selinux_state 1230 security/selinux/avc.c avc_flush(selinux_state.avc); selinux_state 106 security/selinux/hooks.c struct selinux_state selinux_state; selinux_state 275 security/selinux/hooks.c if (selinux_state.initialized && selinux_state 466 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 472 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 484 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 490 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 633 security/selinux/hooks.c int rc = security_context_str_to_sid(&selinux_state, s, selinux_state 662 security/selinux/hooks.c if (!selinux_state.initialized) { selinux_state 768 security/selinux/hooks.c rc = security_fs_use(&selinux_state, sb); selinux_state 792 security/selinux/hooks.c rc = security_transition_sid(&selinux_state, selinux_state 931 security/selinux/hooks.c if (!selinux_state.initialized) selinux_state 961 security/selinux/hooks.c rc = security_fs_use(&selinux_state, newsb); selinux_state 1082 security/selinux/hooks.c rc = security_sid_to_context(&selinux_state, sid, selinux_state 1106 security/selinux/hooks.c if (!selinux_state.initialized) selinux_state 1357 security/selinux/hooks.c rc = security_genfs_sid(&selinux_state, sb->s_type->name, selinux_state 1412 security/selinux/hooks.c rc = security_context_to_sid_default(&selinux_state, context, rc, sid, selinux_state 1519 security/selinux/hooks.c rc = security_transition_sid(&selinux_state, task_sid, sid, selinux_state 1654 security/selinux/hooks.c rc = avc_has_perm_noaudit(&selinux_state, selinux_state 1657 security/selinux/hooks.c int rc2 = avc_audit(&selinux_state, selinux_state 1684 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 1758 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1801 security/selinux/hooks.c return security_transition_sid(&selinux_state, tsec->sid, selinux_state 1829 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1841 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1846 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 1876 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1897 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1922 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1927 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1933 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1944 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1951 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 1972 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2050 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2064 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2071 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2082 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2102 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2121 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2133 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2136 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2142 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2150 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2160 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2221 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2228 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2234 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 2302 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2314 security/selinux/hooks.c rc = security_bounded_transition(&selinux_state, old_tsec->sid, selinux_state 2367 security/selinux/hooks.c rc = security_transition_sid(&selinux_state, old_tsec->sid, selinux_state 2386 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2393 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2399 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2407 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2420 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2435 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2528 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2569 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 2881 security/selinux/hooks.c return security_sid_to_context(&selinux_state, newsid, (char **)ctx, selinux_state 2936 security/selinux/hooks.c if (!selinux_state.initialized || !(sbsec->flags & SBLABEL_MNT)) selinux_state 2943 security/selinux/hooks.c rc = security_sid_to_context_force(&selinux_state, newsid, selinux_state 3019 security/selinux/hooks.c return avc_has_perm_flags(&selinux_state, selinux_state 3035 security/selinux/hooks.c rc = slow_avc_audit(&selinux_state, selinux_state 3074 security/selinux/hooks.c rc = avc_has_perm_noaudit(&selinux_state, selinux_state 3170 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 3176 security/selinux/hooks.c rc = security_context_to_sid(&selinux_state, value, size, &newsid, selinux_state 3203 security/selinux/hooks.c rc = security_context_to_sid_force(&selinux_state, value, selinux_state 3209 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 3215 security/selinux/hooks.c rc = security_validate_transition(&selinux_state, isec->sid, newsid, selinux_state 3220 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 3242 security/selinux/hooks.c rc = security_context_to_sid_force(&selinux_state, value, size, selinux_state 3362 security/selinux/hooks.c error = security_sid_to_context_force(&selinux_state, selinux_state 3366 security/selinux/hooks.c error = security_sid_to_context(&selinux_state, isec->sid, selinux_state 3397 security/selinux/hooks.c rc = security_context_to_sid(&selinux_state, value, size, &newsid, selinux_state 3486 security/selinux/hooks.c rc = security_context_to_sid(&selinux_state, context, clen, &parent_sid, selinux_state 3501 security/selinux/hooks.c rc = security_transition_sid(&selinux_state, tsec->sid, selinux_state 3508 security/selinux/hooks.c rc = security_sid_to_context_force(&selinux_state, newsid, selinux_state 3548 security/selinux/hooks.c fsec->pseqno == avc_policy_seqno(&selinux_state)) selinux_state 3583 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 3596 security/selinux/hooks.c rc = avc_has_extended_perms(&selinux_state, selinux_state 3666 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 3697 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 3720 security/selinux/hooks.c if (selinux_state.checkreqprot) selinux_state 3734 security/selinux/hooks.c if (selinux_state.checkreqprot) selinux_state 3742 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 3749 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 3842 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 3869 security/selinux/hooks.c fsec->pseqno = avc_policy_seqno(&selinux_state); selinux_state 3888 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 3931 security/selinux/hooks.c ret = avc_has_perm(&selinux_state, selinux_state 3956 security/selinux/hooks.c ret = avc_has_perm(&selinux_state, selinux_state 3974 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 3989 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4000 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 4007 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4044 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4051 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4058 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4070 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4077 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4084 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4100 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4115 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4124 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4131 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4138 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4157 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4429 security/selinux/hooks.c err = security_net_peersid_resolve(&selinux_state, nlbl_sid, selinux_state 4458 security/selinux/hooks.c err = security_sid_mls_copy(&selinux_state, sk_sid, skb_sid, selinux_state 4476 security/selinux/hooks.c return security_transition_sid(&selinux_state, tsec->sid, tsec->sid, selinux_state 4493 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4514 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4644 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 4684 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 4783 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 4896 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 4905 security/selinux/hooks.c err = security_sid_mls_copy(&selinux_state, sksec_other->sid, selinux_state 4928 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4944 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 4953 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 4977 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 5043 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 5053 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 5079 security/selinux/hooks.c err = security_sid_to_context(&selinux_state, peer_sid, &scontext, selinux_state 5237 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 5419 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 5469 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 5478 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 5507 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 5512 security/selinux/hooks.c err = avc_has_perm(&selinux_state, selinux_state 5558 security/selinux/hooks.c if (enforcing_enabled(&selinux_state) && selinux_state 5559 security/selinux/hooks.c !security_get_allow_unknown(&selinux_state)) selinux_state 5624 security/selinux/hooks.c if (avc_has_perm(&selinux_state, selinux_state 5737 security/selinux/hooks.c if (avc_has_perm(&selinux_state, selinux_state 5861 security/selinux/hooks.c if (avc_has_perm(&selinux_state, selinux_state 5872 security/selinux/hooks.c if (avc_has_perm(&selinux_state, selinux_state 5879 security/selinux/hooks.c if (avc_has_perm(&selinux_state, selinux_state 5939 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 5962 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 5979 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 5993 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 6034 security/selinux/hooks.c rc = security_transition_sid(&selinux_state, sid, isec->sid, selinux_state 6044 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 6049 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 6054 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 6077 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 6081 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 6101 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 6118 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 6133 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 6186 security/selinux/hooks.c rc = avc_has_perm(&selinux_state, selinux_state 6203 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 6218 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 6306 security/selinux/hooks.c error = avc_has_perm(&selinux_state, selinux_state 6334 security/selinux/hooks.c error = security_sid_to_context(&selinux_state, sid, value, &len); selinux_state 6356 security/selinux/hooks.c error = avc_has_perm(&selinux_state, selinux_state 6360 security/selinux/hooks.c error = avc_has_perm(&selinux_state, selinux_state 6364 security/selinux/hooks.c error = avc_has_perm(&selinux_state, selinux_state 6368 security/selinux/hooks.c error = avc_has_perm(&selinux_state, selinux_state 6372 security/selinux/hooks.c error = avc_has_perm(&selinux_state, selinux_state 6386 security/selinux/hooks.c error = security_context_to_sid(&selinux_state, value, size, selinux_state 6409 security/selinux/hooks.c &selinux_state, selinux_state 6433 security/selinux/hooks.c error = avc_has_perm(&selinux_state, mysid, sid, selinux_state 6449 security/selinux/hooks.c error = security_bounded_transition(&selinux_state, selinux_state 6456 security/selinux/hooks.c error = avc_has_perm(&selinux_state, selinux_state 6466 security/selinux/hooks.c error = avc_has_perm(&selinux_state, selinux_state 6494 security/selinux/hooks.c return security_sid_to_context(&selinux_state, secid, selinux_state 6500 security/selinux/hooks.c return security_context_to_sid(&selinux_state, secdata, seclen, selinux_state 6596 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 6607 security/selinux/hooks.c rc = security_sid_to_context(&selinux_state, ksec->sid, selinux_state 6633 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 6648 security/selinux/hooks.c err = security_ib_endport_sid(&selinux_state, dev_name, port_num, selinux_state 6658 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 6692 security/selinux/hooks.c ret = avc_has_perm(&selinux_state, selinux_state 6697 security/selinux/hooks.c ret = avc_has_perm(&selinux_state, selinux_state 6738 security/selinux/hooks.c ret = avc_has_perm(&selinux_state, selinux_state 6746 security/selinux/hooks.c ret = avc_has_perm(&selinux_state, selinux_state 6761 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 6772 security/selinux/hooks.c return avc_has_perm(&selinux_state, selinux_state 7073 security/selinux/hooks.c memset(&selinux_state, 0, sizeof(selinux_state)); selinux_state 7074 security/selinux/hooks.c enforcing_set(&selinux_state, selinux_enforcing_boot); selinux_state 7075 security/selinux/hooks.c selinux_state.checkreqprot = selinux_checkreqprot_boot; selinux_state 7076 security/selinux/hooks.c selinux_ss_init(&selinux_state.ss); selinux_state 7077 security/selinux/hooks.c selinux_avc_init(&selinux_state.avc); selinux_state 7229 security/selinux/hooks.c int selinux_disable(struct selinux_state *state) selinux_state 145 security/selinux/ibpkey.c ret = security_ib_pkey_sid(&selinux_state, subnet_prefix, pkey_num, selinux_state 55 security/selinux/include/avc.h struct selinux_state *state; selinux_state 100 security/selinux/include/avc.h int slow_avc_audit(struct selinux_state *state, selinux_state 125 security/selinux/include/avc.h static inline int avc_audit(struct selinux_state *state, selinux_state 148 security/selinux/include/avc.h int avc_has_perm_noaudit(struct selinux_state *state, selinux_state 154 security/selinux/include/avc.h int avc_has_perm(struct selinux_state *state, selinux_state 158 security/selinux/include/avc.h int avc_has_perm_flags(struct selinux_state *state, selinux_state 164 security/selinux/include/avc.h int avc_has_extended_perms(struct selinux_state *state, selinux_state 169 security/selinux/include/avc.h u32 avc_policy_seqno(struct selinux_state *state); selinux_state 16 security/selinux/include/conditional.h int security_get_bools(struct selinux_state *state, selinux_state 19 security/selinux/include/conditional.h int security_set_bools(struct selinux_state *state, selinux_state 22 security/selinux/include/conditional.h int security_get_bool_value(struct selinux_state *state, selinux_state 115 security/selinux/include/security.h extern struct selinux_state selinux_state; selinux_state 118 security/selinux/include/security.h static inline bool enforcing_enabled(struct selinux_state *state) selinux_state 123 security/selinux/include/security.h static inline void enforcing_set(struct selinux_state *state, bool value) selinux_state 128 security/selinux/include/security.h static inline bool enforcing_enabled(struct selinux_state *state) selinux_state 133 security/selinux/include/security.h static inline void enforcing_set(struct selinux_state *state, bool value) selinux_state 140 security/selinux/include/security.h struct selinux_state *state = &selinux_state; selinux_state 147 security/selinux/include/security.h struct selinux_state *state = &selinux_state; selinux_state 154 security/selinux/include/security.h struct selinux_state *state = &selinux_state; selinux_state 161 security/selinux/include/security.h struct selinux_state *state = &selinux_state; selinux_state 168 security/selinux/include/security.h struct selinux_state *state = &selinux_state; selinux_state 175 security/selinux/include/security.h struct selinux_state *state = &selinux_state; selinux_state 180 security/selinux/include/security.h int security_mls_enabled(struct selinux_state *state); selinux_state 181 security/selinux/include/security.h int security_load_policy(struct selinux_state *state, selinux_state 183 security/selinux/include/security.h int security_read_policy(struct selinux_state *state, selinux_state 185 security/selinux/include/security.h size_t security_policydb_len(struct selinux_state *state); selinux_state 187 security/selinux/include/security.h int security_policycap_supported(struct selinux_state *state, selinux_state 225 security/selinux/include/security.h void security_compute_av(struct selinux_state *state, selinux_state 230 security/selinux/include/security.h void security_compute_xperms_decision(struct selinux_state *state, selinux_state 235 security/selinux/include/security.h void security_compute_av_user(struct selinux_state *state, selinux_state 239 security/selinux/include/security.h int security_transition_sid(struct selinux_state *state, selinux_state 243 security/selinux/include/security.h int security_transition_sid_user(struct selinux_state *state, selinux_state 247 security/selinux/include/security.h int security_member_sid(struct selinux_state *state, u32 ssid, u32 tsid, selinux_state 250 security/selinux/include/security.h int security_change_sid(struct selinux_state *state, u32 ssid, u32 tsid, selinux_state 253 security/selinux/include/security.h int security_sid_to_context(struct selinux_state *state, u32 sid, selinux_state 256 security/selinux/include/security.h int security_sid_to_context_force(struct selinux_state *state, selinux_state 259 security/selinux/include/security.h int security_sid_to_context_inval(struct selinux_state *state, selinux_state 262 security/selinux/include/security.h int security_context_to_sid(struct selinux_state *state, selinux_state 266 security/selinux/include/security.h int security_context_str_to_sid(struct selinux_state *state, selinux_state 269 security/selinux/include/security.h int security_context_to_sid_default(struct selinux_state *state, selinux_state 273 security/selinux/include/security.h int security_context_to_sid_force(struct selinux_state *state, selinux_state 277 security/selinux/include/security.h int security_get_user_sids(struct selinux_state *state, selinux_state 281 security/selinux/include/security.h int security_port_sid(struct selinux_state *state, selinux_state 284 security/selinux/include/security.h int security_ib_pkey_sid(struct selinux_state *state, selinux_state 287 security/selinux/include/security.h int security_ib_endport_sid(struct selinux_state *state, selinux_state 290 security/selinux/include/security.h int security_netif_sid(struct selinux_state *state, selinux_state 293 security/selinux/include/security.h int security_node_sid(struct selinux_state *state, selinux_state 297 security/selinux/include/security.h int security_validate_transition(struct selinux_state *state, selinux_state 301 security/selinux/include/security.h int security_validate_transition_user(struct selinux_state *state, selinux_state 305 security/selinux/include/security.h int security_bounded_transition(struct selinux_state *state, selinux_state 308 security/selinux/include/security.h int security_sid_mls_copy(struct selinux_state *state, selinux_state 311 security/selinux/include/security.h int security_net_peersid_resolve(struct selinux_state *state, selinux_state 316 security/selinux/include/security.h int security_get_classes(struct selinux_state *state, selinux_state 318 security/selinux/include/security.h int security_get_permissions(struct selinux_state *state, selinux_state 320 security/selinux/include/security.h int security_get_reject_unknown(struct selinux_state *state); selinux_state 321 security/selinux/include/security.h int security_get_allow_unknown(struct selinux_state *state); selinux_state 332 security/selinux/include/security.h int security_fs_use(struct selinux_state *state, struct super_block *sb); selinux_state 334 security/selinux/include/security.h int security_genfs_sid(struct selinux_state *state, selinux_state 339 security/selinux/include/security.h int security_netlbl_secattr_to_sid(struct selinux_state *state, selinux_state 343 security/selinux/include/security.h int security_netlbl_sid_to_secattr(struct selinux_state *state, selinux_state 347 security/selinux/include/security.h static inline int security_netlbl_secattr_to_sid(struct selinux_state *state, selinux_state 354 security/selinux/include/security.h static inline int security_netlbl_sid_to_secattr(struct selinux_state *state, selinux_state 367 security/selinux/include/security.h extern struct page *selinux_kernel_status_page(struct selinux_state *state); selinux_state 381 security/selinux/include/security.h extern void selinux_status_update_setenforce(struct selinux_state *state, selinux_state 383 security/selinux/include/security.h extern void selinux_status_update_policyload(struct selinux_state *state, selinux_state 386 security/selinux/include/security.h extern int selinux_disable(struct selinux_state *state); selinux_state 157 security/selinux/netif.c ret = security_netif_sid(&selinux_state, dev->name, sid); selinux_state 48 security/selinux/netlabel.c rc = security_netlbl_secattr_to_sid(&selinux_state, secattr, sid); selinux_state 79 security/selinux/netlabel.c rc = security_netlbl_sid_to_secattr(&selinux_state, sksec->sid, selinux_state 247 security/selinux/netlabel.c rc = security_netlbl_sid_to_secattr(&selinux_state, sid, selinux_state 285 security/selinux/netlabel.c rc = security_netlbl_sid_to_secattr(&selinux_state, selinux_state 333 security/selinux/netlabel.c rc = security_netlbl_sid_to_secattr(&selinux_state, req->secid, selinux_state 463 security/selinux/netlabel.c rc = avc_has_perm(&selinux_state, selinux_state 207 security/selinux/netnode.c ret = security_node_sid(&selinux_state, PF_INET, selinux_state 213 security/selinux/netnode.c ret = security_node_sid(&selinux_state, PF_INET6, selinux_state 152 security/selinux/netport.c ret = security_port_sid(&selinux_state, protocol, pnum, sid); selinux_state 79 security/selinux/selinuxfs.c struct selinux_state *state; selinux_state 93 security/selinux/selinuxfs.c fsi->state = &selinux_state; selinux_state 139 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 163 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 203 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 376 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 384 security/selinux/selinuxfs.c rc = avc_has_perm(&selinux_state, selinux_state 446 security/selinux/selinuxfs.c ret = avc_has_perm(&selinux_state, selinux_state 540 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 595 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 600 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 647 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 686 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 693 security/selinux/selinuxfs.c rc = avc_has_perm(&selinux_state, selinux_state 815 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 822 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 866 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 876 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 970 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 978 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 1031 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 1039 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 1096 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 1104 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 1232 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 1288 security/selinux/selinuxfs.c length = avc_has_perm(&selinux_state, selinux_state 1419 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 1434 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 1439 security/selinux/selinuxfs.c ret = avc_has_perm(&selinux_state, selinux_state 1473 security/selinux/selinuxfs.c struct selinux_state *state = fsi->state; selinux_state 244 security/selinux/ss/services.c int security_mls_enabled(struct selinux_state *state) selinux_state 718 security/selinux/ss/services.c static int security_validtrans_handle_fail(struct selinux_state *state, selinux_state 748 security/selinux/ss/services.c static int security_compute_validatetrans(struct selinux_state *state, selinux_state 828 security/selinux/ss/services.c int security_validate_transition_user(struct selinux_state *state, selinux_state 836 security/selinux/ss/services.c int security_validate_transition(struct selinux_state *state, selinux_state 853 security/selinux/ss/services.c int security_bounded_transition(struct selinux_state *state, selinux_state 935 security/selinux/ss/services.c static void avd_init(struct selinux_state *state, struct av_decision *avd) selinux_state 998 security/selinux/ss/services.c void security_compute_xperms_decision(struct selinux_state *state, selinux_state 1092 security/selinux/ss/services.c void security_compute_av(struct selinux_state *state, selinux_state 1149 security/selinux/ss/services.c void security_compute_av_user(struct selinux_state *state, selinux_state 1267 security/selinux/ss/services.c static int security_sid_to_context_core(struct selinux_state *state, selinux_state 1337 security/selinux/ss/services.c int security_sid_to_context(struct selinux_state *state, selinux_state 1344 security/selinux/ss/services.c int security_sid_to_context_force(struct selinux_state *state, u32 sid, selinux_state 1364 security/selinux/ss/services.c int security_sid_to_context_inval(struct selinux_state *state, u32 sid, selinux_state 1452 security/selinux/ss/services.c static int security_context_to_sid_core(struct selinux_state *state, selinux_state 1526 security/selinux/ss/services.c int security_context_to_sid(struct selinux_state *state, selinux_state 1534 security/selinux/ss/services.c int security_context_str_to_sid(struct selinux_state *state, selinux_state 1559 security/selinux/ss/services.c int security_context_to_sid_default(struct selinux_state *state, selinux_state 1567 security/selinux/ss/services.c int security_context_to_sid_force(struct selinux_state *state, selinux_state 1576 security/selinux/ss/services.c struct selinux_state *state, selinux_state 1636 security/selinux/ss/services.c static int security_compute_sid(struct selinux_state *state, selinux_state 1829 security/selinux/ss/services.c int security_transition_sid(struct selinux_state *state, selinux_state 1838 security/selinux/ss/services.c int security_transition_sid_user(struct selinux_state *state, selinux_state 1860 security/selinux/ss/services.c int security_member_sid(struct selinux_state *state, selinux_state 1884 security/selinux/ss/services.c int security_change_sid(struct selinux_state *state, selinux_state 1896 security/selinux/ss/services.c struct selinux_state *state, selinux_state 1915 security/selinux/ss/services.c struct selinux_state *state; selinux_state 2050 security/selinux/ss/services.c static void security_load_policycaps(struct selinux_state *state) selinux_state 2071 security/selinux/ss/services.c static int security_preserve_bools(struct selinux_state *state, selinux_state 2084 security/selinux/ss/services.c int security_load_policy(struct selinux_state *state, void *data, size_t len) selinux_state 2241 security/selinux/ss/services.c size_t security_policydb_len(struct selinux_state *state) selinux_state 2259 security/selinux/ss/services.c int security_port_sid(struct selinux_state *state, selinux_state 2305 security/selinux/ss/services.c int security_ib_pkey_sid(struct selinux_state *state, selinux_state 2351 security/selinux/ss/services.c int security_ib_endport_sid(struct selinux_state *state, selinux_state 2397 security/selinux/ss/services.c int security_netif_sid(struct selinux_state *state, selinux_state 2459 security/selinux/ss/services.c int security_node_sid(struct selinux_state *state, selinux_state 2548 security/selinux/ss/services.c int security_get_user_sids(struct selinux_state *state, selinux_state 2668 security/selinux/ss/services.c static inline int __security_genfs_sid(struct selinux_state *state, selinux_state 2731 security/selinux/ss/services.c int security_genfs_sid(struct selinux_state *state, selinux_state 2749 security/selinux/ss/services.c int security_fs_use(struct selinux_state *state, struct super_block *sb) selinux_state 2795 security/selinux/ss/services.c int security_get_bools(struct selinux_state *state, selinux_state 2853 security/selinux/ss/services.c int security_set_bools(struct selinux_state *state, int len, int *values) selinux_state 2905 security/selinux/ss/services.c int security_get_bool_value(struct selinux_state *state, selinux_state 2927 security/selinux/ss/services.c static int security_preserve_bools(struct selinux_state *state, selinux_state 2963 security/selinux/ss/services.c int security_sid_mls_copy(struct selinux_state *state, selinux_state 3058 security/selinux/ss/services.c int security_net_peersid_resolve(struct selinux_state *state, selinux_state 3138 security/selinux/ss/services.c int security_get_classes(struct selinux_state *state, selinux_state 3185 security/selinux/ss/services.c int security_get_permissions(struct selinux_state *state, selinux_state 3232 security/selinux/ss/services.c int security_get_reject_unknown(struct selinux_state *state) selinux_state 3237 security/selinux/ss/services.c int security_get_allow_unknown(struct selinux_state *state) selinux_state 3252 security/selinux/ss/services.c int security_policycap_supported(struct selinux_state *state, selinux_state 3282 security/selinux/ss/services.c struct selinux_state *state = &selinux_state; selinux_state 3406 security/selinux/ss/services.c struct selinux_state *state = &selinux_state; selinux_state 3582 security/selinux/ss/services.c int security_netlbl_secattr_to_sid(struct selinux_state *state, selinux_state 3652 security/selinux/ss/services.c int security_netlbl_sid_to_secattr(struct selinux_state *state, selinux_state 3691 security/selinux/ss/services.c int security_read_policy(struct selinux_state *state, selinux_state 42 security/selinux/ss/status.c struct page *selinux_kernel_status_page(struct selinux_state *state) selinux_state 79 security/selinux/ss/status.c void selinux_status_update_setenforce(struct selinux_state *state, selinux_state 105 security/selinux/ss/status.c void selinux_status_update_policyload(struct selinux_state *state, selinux_state 101 security/selinux/xfrm.c rc = security_context_to_sid(&selinux_state, ctx->ctx_str, str_len, selinux_state 106 security/selinux/xfrm.c rc = avc_has_perm(&selinux_state, selinux_state 143 security/selinux/xfrm.c return avc_has_perm(&selinux_state, selinux_state 166 security/selinux/xfrm.c rc = avc_has_perm(&selinux_state, selinux_state 206 security/selinux/xfrm.c return (avc_has_perm(&selinux_state, selinux_state 357 security/selinux/xfrm.c rc = security_sid_to_context(&selinux_state, secid, &ctx_str, selinux_state 426 security/selinux/xfrm.c return avc_has_perm(&selinux_state, selinux_state 470 security/selinux/xfrm.c return avc_has_perm(&selinux_state, sk_sid, SECINITSID_UNLABELED,