• 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()
303 security_id_t tsid, in avc_claim_node() argument
322 hvalue = avc_hash(ssid, tsid, tclass); in avc_claim_node()
326 new->ae.tsid = tsid; in avc_claim_node()
336 security_id_t tsid, in avc_search_node() argument
344 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
348 tclass != cur->ae.tclass || tsid != cur->ae.tsid)) { in avc_search_node()
383 static int avc_lookup(security_id_t ssid, security_id_t tsid, in avc_lookup() argument
391 node = avc_search_node(ssid, tsid, tclass, &probes); in avc_lookup()
425 static int avc_insert(security_id_t ssid, security_id_t tsid, in avc_insert() argument
441 node = avc_claim_node(ssid, tsid, tclass); in avc_insert()
641 static void avc_dump_query(security_id_t ssid, security_id_t tsid, in avc_dump_query() argument
647 ssid->ctx, tsid->ctx); in avc_dump_query()
654 void avc_audit(security_id_t ssid, security_id_t tsid, in avc_audit() argument
685 avc_dump_query(ssid, tsid, tclass); in avc_audit()
705 security_id_t tsid, in avc_has_perm_noaudit() argument
733 ae->tsid == tsid && in avc_has_perm_noaudit()
746 rc = avc_lookup(ssid, tsid, tclass, requested, aeref); in avc_has_perm_noaudit()
748 rc = security_compute_av(ssid->ctx, tsid->ctx, in avc_has_perm_noaudit()
757 rc = avc_insert(ssid, tsid, tclass, &entry, aeref); in avc_has_perm_noaudit()
786 int avc_has_perm(security_id_t ssid, security_id_t tsid, in hidden_def()
793 rc = avc_has_perm_noaudit(ssid, tsid, tclass, requested, aeref, &avd); in hidden_def()
795 avc_audit(ssid, tsid, tclass, requested, &avd, rc, auditdata); in hidden_def()
800 int avc_compute_create(security_id_t ssid, security_id_t tsid, in avc_compute_create() argument
814 rc = avc_lookup(ssid, tsid, tclass, 0, &aeref); in avc_compute_create()
817 rc = security_compute_av(ssid->ctx, tsid->ctx, in avc_compute_create()
821 rc = avc_insert(ssid, tsid, tclass, &entry, &aeref); in avc_compute_create()
829 rc = security_compute_create(ssid->ctx, tsid->ctx, tclass, in avc_compute_create()
851 security_id_t tsid, in avc_add_callback() argument
856 security_id_t tsid, in avc_add_callback()
871 c->tsid = tsid; in avc_add_callback()
912 security_id_t tsid, security_class_t tclass, in avc_update_cache() argument
920 if (ssid == SECSID_WILD || tsid == SECSID_WILD) { in avc_update_cache()
925 avc_sidcmp(tsid, node->ae.tsid) && in avc_update_cache()
933 node = avc_search_node(ssid, tsid, tclass, 0); in avc_update_cache()
950 security_id_t tsid, security_class_t tclass, in avc_control() argument
966 avc_update_cache(event, ssid, tsid, tclass, perms); in avc_control()
971 avc_sidcmp(c->tsid, tsid) && in avc_control()
974 ret = c->callback(event, ssid, tsid, tclass, in avc_control()
988 avc_update_cache(event, ssid, tsid, tclass, perms); in avc_control()
1009 int avc_ss_grant(security_id_t ssid, security_id_t tsid, in avc_ss_grant() argument
1014 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_grant()
1030 int avc_ss_try_revoke(security_id_t ssid, security_id_t tsid, in avc_ss_try_revoke() argument
1036 ssid, tsid, tclass, perms, seqno, out_retained); in avc_ss_try_revoke()
1050 int avc_ss_revoke(security_id_t ssid, security_id_t tsid, in avc_ss_revoke() argument
1055 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_revoke()
1085 int avc_ss_set_auditallow(security_id_t ssid, security_id_t tsid, in avc_ss_set_auditallow() argument
1091 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_set_auditallow()
1094 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_set_auditallow()
1106 int avc_ss_set_auditdeny(security_id_t ssid, security_id_t tsid, in avc_ss_set_auditdeny() argument
1112 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_set_auditdeny()
1115 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_set_auditdeny()