• Home
  • Raw
  • Download

Lines Matching refs:tsid

21 	security_id_t tsid;  member
42 security_id_t tsid,
47 security_id_t tsid; member
64 security_id_t tsid, security_class_t tclass) in avc_hash() argument
66 return ((uintptr_t) ssid ^ ((uintptr_t) tsid << 2) ^ tclass) in avc_hash()
343 security_id_t tsid, in avc_claim_node() argument
362 hvalue = avc_hash(ssid, tsid, tclass); in avc_claim_node()
366 new->ae.tsid = tsid; in avc_claim_node()
376 security_id_t tsid, in avc_search_node() argument
384 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
388 tclass != cur->ae.tclass || tsid != cur->ae.tsid)) { in avc_search_node()
423 static int avc_lookup(security_id_t ssid, security_id_t tsid, in avc_lookup() argument
431 node = avc_search_node(ssid, tsid, tclass, &probes); in avc_lookup()
465 static int avc_insert(security_id_t ssid, security_id_t tsid, in avc_insert() argument
481 node = avc_claim_node(ssid, tsid, tclass); in avc_insert()
681 static void avc_dump_query(security_id_t ssid, security_id_t tsid, in avc_dump_query() argument
687 ssid->ctx, tsid->ctx); in avc_dump_query()
694 void avc_audit(security_id_t ssid, security_id_t tsid, in avc_audit() argument
725 avc_dump_query(ssid, tsid, tclass); in avc_audit()
745 security_id_t tsid, in avc_has_perm_noaudit() argument
773 ae->tsid == tsid && in avc_has_perm_noaudit()
786 rc = avc_lookup(ssid, tsid, tclass, requested, aeref); in avc_has_perm_noaudit()
788 rc = security_compute_av_flags_raw(ssid->ctx, tsid->ctx, in avc_has_perm_noaudit()
797 rc = avc_insert(ssid, tsid, tclass, &entry, aeref); in avc_has_perm_noaudit()
826 int avc_has_perm(security_id_t ssid, security_id_t tsid, in hidden_def()
833 rc = avc_has_perm_noaudit(ssid, tsid, tclass, requested, aeref, &avd); in hidden_def()
835 avc_audit(ssid, tsid, tclass, requested, &avd, rc, auditdata); in hidden_def()
840 int avc_compute_create(security_id_t ssid, security_id_t tsid, in avc_compute_create() argument
854 rc = avc_lookup(ssid, tsid, tclass, 0, &aeref); in avc_compute_create()
857 rc = security_compute_av_flags_raw(ssid->ctx, tsid->ctx, in avc_compute_create()
861 rc = avc_insert(ssid, tsid, tclass, &entry, &aeref); in avc_compute_create()
869 rc = security_compute_create_raw(ssid->ctx, tsid->ctx, tclass, in avc_compute_create()
890 int avc_compute_member(security_id_t ssid, security_id_t tsid, in avc_compute_member() argument
900 rc = security_compute_member_raw(ssid->ctx, tsid->ctx, tclass, &ctx); in avc_compute_member()
911 security_id_t tsid, in avc_add_callback() argument
916 security_id_t tsid, in avc_add_callback()
931 c->tsid = tsid; in avc_add_callback()
972 security_id_t tsid, security_class_t tclass, in avc_update_cache() argument
980 if (ssid == SECSID_WILD || tsid == SECSID_WILD) { in avc_update_cache()
985 avc_sidcmp(tsid, node->ae.tsid) && in avc_update_cache()
993 node = avc_search_node(ssid, tsid, tclass, 0); in avc_update_cache()
1010 security_id_t tsid, security_class_t tclass, in avc_control() argument
1026 avc_update_cache(event, ssid, tsid, tclass, perms); in avc_control()
1031 avc_sidcmp(c->tsid, tsid) && in avc_control()
1034 ret = c->callback(event, ssid, tsid, tclass, in avc_control()
1048 avc_update_cache(event, ssid, tsid, tclass, perms); in avc_control()
1069 int avc_ss_grant(security_id_t ssid, security_id_t tsid, in avc_ss_grant() argument
1074 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_grant()
1090 int avc_ss_try_revoke(security_id_t ssid, security_id_t tsid, in avc_ss_try_revoke() argument
1096 ssid, tsid, tclass, perms, seqno, out_retained); in avc_ss_try_revoke()
1110 int avc_ss_revoke(security_id_t ssid, security_id_t tsid, in avc_ss_revoke() argument
1115 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_revoke()
1145 int avc_ss_set_auditallow(security_id_t ssid, security_id_t tsid, in avc_ss_set_auditallow() argument
1151 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_set_auditallow()
1154 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_set_auditallow()
1166 int avc_ss_set_auditdeny(security_id_t ssid, security_id_t tsid, in avc_ss_set_auditdeny() argument
1172 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_set_auditdeny()
1175 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_set_auditdeny()