Home
last modified time | relevance | path

Searched refs:tsid (Results 1 – 7 of 7) sorted by relevance

/external/libselinux/src/
Davc.c20 security_id_t tsid; member
41 security_id_t tsid,
46 security_id_t tsid; member
63 security_id_t tsid, security_class_t tclass) in avc_hash() argument
65 return ((uintptr_t) ssid ^ ((uintptr_t) tsid << 2) ^ tclass) in avc_hash()
290 ae->ssid = ae->tsid = ae->create_sid = NULL; in avc_clear_avc_entry()
298 security_id_t tsid, in avc_claim_node() argument
317 hvalue = avc_hash(ssid, tsid, tclass); in avc_claim_node()
321 new->ae.tsid = tsid; in avc_claim_node()
331 security_id_t tsid, in avc_search_node() argument
[all …]
Davc_internal.h156 int avc_ss_grant(security_id_t ssid, security_id_t tsid,
159 int avc_ss_try_revoke(security_id_t ssid, security_id_t tsid,
163 int avc_ss_revoke(security_id_t ssid, security_id_t tsid,
167 int avc_ss_set_auditallow(security_id_t ssid, security_id_t tsid,
170 int avc_ss_set_auditdeny(security_id_t ssid, security_id_t tsid,
/external/libselinux/include/selinux/
Davc.h257 security_id_t tsid,
280 int avc_has_perm(security_id_t ssid, security_id_t tsid,
303 void avc_audit(security_id_t ssid, security_id_t tsid,
322 security_id_t tsid,
340 security_id_t tsid,
374 security_id_t tsid, security_class_t tclass,
378 security_id_t tsid, security_class_t tclass,
/external/libsepol/include/sepol/policydb/
Dservices.h44 sepol_security_id_t tsid, /* IN */
55 sepol_security_id_t tsid,
66 sepol_security_id_t tsid, /* IN */
76 sepol_security_id_t tsid, /* IN */
85 sepol_security_id_t tsid, /* IN */
/external/checkpolicy/
Dcheckpolicy.c380 sepol_security_id_t ssid, tsid, *sids; in main() local
663 tsid = atoi(ans); in main()
695 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); in main()
779 tsid = atoi(ans); in main()
806 sepol_transition_sid(ssid, tsid, tclass, in main()
810 sepol_member_sid(ssid, tsid, tclass, &ssid); in main()
813 sepol_change_sid(ssid, tsid, tclass, &ssid); in main()
876 sepol_fs_sid(ans, &ssid, &tsid); in main()
877 printf("fs_sid %d default_file_sid %d\n", ssid, tsid); in main()
901 sepol_netif_sid(ans, &ssid, &tsid); in main()
[all …]
/external/libsepol/src/
Dservices.c473 sepol_security_id_t tsid, in sepol_compute_av_reason() argument
488 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason()
490 ERR(NULL, "unrecognized SID %d", tsid); in sepol_compute_av_reason()
502 sepol_security_id_t tsid, in sepol_compute_av() argument
508 return sepol_compute_av_reason(ssid, tsid, tclass, requested, avd, in sepol_compute_av()
599 sepol_security_id_t tsid, in sepol_compute_sid() argument
616 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_sid()
618 ERR(NULL, "unrecognized SID %d", tsid); in sepol_compute_sid()
723 sepol_security_id_t tsid, in sepol_transition_sid() argument
727 return sepol_compute_sid(ssid, tsid, tclass, AVTAB_TRANSITION, out_sid); in sepol_transition_sid()
[all …]
/external/dbus/bus/
Dselinux.c177 security_id_t tsid, security_class_t tclass, in policy_reload_callback() argument