Home
last modified time | relevance | path

Searched refs:tsid (Results 1 – 6 of 6) 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()
294 security_id_t tsid, in avc_claim_node() argument
313 hvalue = avc_hash(ssid, tsid, tclass); in avc_claim_node()
317 new->ae.tsid = tsid; in avc_claim_node()
327 security_id_t tsid, in avc_search_node() argument
335 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
[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,
71 sepol_security_id_t tsid,
98 sepol_security_id_t tsid, /* IN */
108 sepol_security_id_t tsid, /* IN */
117 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.c986 sepol_security_id_t tsid, in sepol_compute_av_reason() argument
1001 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason()
1003 ERR(NULL, "unrecognized SID %d", tsid); in sepol_compute_av_reason()
1020 sepol_security_id_t tsid, in sepol_compute_av_reason_buffer() argument
1037 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason_buffer()
1039 ERR(NULL, "unrecognized SID %d", tsid); in sepol_compute_av_reason_buffer()
1062 sepol_security_id_t tsid, in sepol_compute_av() argument
1068 return sepol_compute_av_reason(ssid, tsid, tclass, requested, avd, in sepol_compute_av()
1224 sepol_security_id_t tsid, in sepol_compute_sid() argument
1241 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_sid()
[all …]