Lines Matching refs:sidtab
753 struct sidtab *sidtab; in security_compute_validatetrans() local
769 sidtab = state->ss->sidtab; in security_compute_validatetrans()
782 ocontext = sidtab_search(sidtab, oldsid); in security_compute_validatetrans()
790 ncontext = sidtab_search(sidtab, newsid); in security_compute_validatetrans()
798 tcontext = sidtab_search(sidtab, tasksid); in security_compute_validatetrans()
857 struct sidtab *sidtab; in security_bounded_transition() local
869 sidtab = state->ss->sidtab; in security_bounded_transition()
872 old_context = sidtab_search(sidtab, old_sid); in security_bounded_transition()
880 new_context = sidtab_search(sidtab, new_sid); in security_bounded_transition()
1006 struct sidtab *sidtab; in security_compute_xperms_decision() local
1026 sidtab = state->ss->sidtab; in security_compute_xperms_decision()
1028 scontext = sidtab_search(sidtab, ssid); in security_compute_xperms_decision()
1035 tcontext = sidtab_search(sidtab, tsid); in security_compute_xperms_decision()
1100 struct sidtab *sidtab; in security_compute_av() local
1111 sidtab = state->ss->sidtab; in security_compute_av()
1113 scontext = sidtab_search(sidtab, ssid); in security_compute_av()
1124 tcontext = sidtab_search(sidtab, tsid); in security_compute_av()
1156 struct sidtab *sidtab; in security_compute_av_user() local
1165 sidtab = state->ss->sidtab; in security_compute_av_user()
1167 scontext = sidtab_search(sidtab, ssid); in security_compute_av_user()
1178 tcontext = sidtab_search(sidtab, tsid); in security_compute_av_user()
1273 struct sidtab *sidtab; in security_sid_to_context_core() local
1304 sidtab = state->ss->sidtab; in security_sid_to_context_core()
1306 context = sidtab_search_force(sidtab, sid); in security_sid_to_context_core()
1308 context = sidtab_search(sidtab, sid); in security_sid_to_context_core()
1375 struct sidtab *sidtabp, in string_to_context_struct()
1458 struct sidtab *sidtab; in security_context_to_sid_core() local
1495 sidtab = state->ss->sidtab; in security_context_to_sid_core()
1496 rc = string_to_context_struct(policydb, sidtab, scontext2, in security_context_to_sid_core()
1504 rc = sidtab_context_to_sid(sidtab, &context, sid); in security_context_to_sid_core()
1646 struct sidtab *sidtab; in security_compute_sid() local
1683 sidtab = state->ss->sidtab; in security_compute_sid()
1685 scontext = sidtab_search(sidtab, ssid); in security_compute_sid()
1692 tcontext = sidtab_search(sidtab, tsid); in security_compute_sid()
1808 rc = sidtab_context_to_sid(sidtab, &newcontext, out_sid); in security_compute_sid()
2087 struct sidtab *oldsidtab, *newsidtab; in security_load_policy()
2135 state->ss->sidtab = newsidtab; in security_load_policy()
2179 oldsidtab = state->ss->sidtab; in security_load_policy()
2207 state->ss->sidtab = newsidtab; in security_load_policy()
2263 struct sidtab *sidtab; in security_port_sid() local
2270 sidtab = state->ss->sidtab; in security_port_sid()
2283 rc = sidtab_context_to_sid(sidtab, in security_port_sid()
2309 struct sidtab *sidtab; in security_ib_pkey_sid() local
2316 sidtab = state->ss->sidtab; in security_ib_pkey_sid()
2330 rc = sidtab_context_to_sid(sidtab, in security_ib_pkey_sid()
2355 struct sidtab *sidtab; in security_ib_endport_sid() local
2362 sidtab = state->ss->sidtab; in security_ib_endport_sid()
2377 rc = sidtab_context_to_sid(sidtab, in security_ib_endport_sid()
2401 struct sidtab *sidtab; in security_netif_sid() local
2408 sidtab = state->ss->sidtab; in security_netif_sid()
2419 rc = sidtab_context_to_sid(sidtab, in security_netif_sid()
2424 rc = sidtab_context_to_sid(sidtab, in security_netif_sid()
2466 struct sidtab *sidtab; in security_node_sid() local
2473 sidtab = state->ss->sidtab; in security_node_sid()
2515 rc = sidtab_context_to_sid(sidtab, in security_node_sid()
2555 struct sidtab *sidtab; in security_get_user_sids() local
2573 sidtab = state->ss->sidtab; in security_get_user_sids()
2578 fromcon = sidtab_search(sidtab, fromsid); in security_get_user_sids()
2604 rc = sidtab_context_to_sid(sidtab, &usercon, &sid); in security_get_user_sids()
2675 struct sidtab *sidtab = state->ss->sidtab; in __security_genfs_sid() local
2710 rc = sidtab_context_to_sid(sidtab, &c->context[0], &c->sid[0]); in __security_genfs_sid()
2752 struct sidtab *sidtab; in security_fs_use() local
2761 sidtab = state->ss->sidtab; in security_fs_use()
2773 rc = sidtab_context_to_sid(sidtab, &c->context[0], in security_fs_use()
2967 struct sidtab *sidtab = state->ss->sidtab; in security_sid_mls_copy() local
2986 context1 = sidtab_search(sidtab, sid); in security_sid_mls_copy()
2994 context2 = sidtab_search(sidtab, mls_sid); in security_sid_mls_copy()
3030 rc = sidtab_context_to_sid(sidtab, &newcon, new_sid); in security_sid_mls_copy()
3064 struct sidtab *sidtab = state->ss->sidtab; in security_net_peersid_resolve() local
3097 nlbl_ctx = sidtab_search(sidtab, nlbl_sid); in security_net_peersid_resolve()
3104 xfrm_ctx = sidtab_search(sidtab, xfrm_sid); in security_net_peersid_resolve()
3424 ctxt = sidtab_search(state->ss->sidtab, sid); in selinux_audit_rule_match()
3587 struct sidtab *sidtab = state->ss->sidtab; in security_netlbl_secattr_to_sid() local
3605 ctx = sidtab_search(sidtab, SECINITSID_NETMSG); in security_netlbl_secattr_to_sid()
3623 rc = sidtab_context_to_sid(sidtab, &ctx_new, sid); in security_netlbl_secattr_to_sid()
3665 ctx = sidtab_search(state->ss->sidtab, sid); in security_netlbl_sid_to_secattr()