Home
last modified time | relevance | path

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

/security/selinux/
Davc.c52 u32 tsid; member
130 static inline int avc_hash(u32 ssid, u32 tsid, u16 tclass) in avc_hash() argument
132 return (ssid ^ (tsid<<2) ^ (tclass<<4)) & (AVC_CACHE_SLOTS - 1); in avc_hash()
421 u32 ssid, u32 tsid, u16 tclass, in avc_xperms_audit() argument
433 return slow_avc_audit(state, ssid, tsid, tclass, requested, in avc_xperms_audit()
524 static void avc_node_populate(struct avc_node *node, u32 ssid, u32 tsid, u16 tclass, struct av_deci… in avc_node_populate() argument
527 node->ae.tsid = tsid; in avc_node_populate()
533 u32 ssid, u32 tsid, u16 tclass) in avc_search_node() argument
539 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
544 tsid == node->ae.tsid) { in avc_search_node()
[all …]
Dselinuxfs.c789 u32 osid, nsid, tsid; in sel_write_validatetrans() local
840 rc = security_context_str_to_sid(state, taskcon, &tsid, GFP_KERNEL); in sel_write_validatetrans()
844 rc = security_validate_transition_user(state, osid, nsid, tsid, tclass); in sel_write_validatetrans()
917 u32 ssid, tsid; in sel_write_access() local
946 length = security_context_str_to_sid(state, tcon, &tsid, GFP_KERNEL); in sel_write_access()
950 security_compute_av_user(state, ssid, tsid, tclass, &avd); in sel_write_access()
969 u32 ssid, tsid, newsid; in sel_write_create() local
1037 length = security_context_str_to_sid(state, tcon, &tsid, GFP_KERNEL); in sel_write_create()
1041 length = security_transition_sid_user(state, ssid, tsid, tclass, in sel_write_create()
1072 u32 ssid, tsid, newsid; in sel_write_relabel() local
[all …]
Dhooks.c5575 u32 tsid; in selinux_secmark_relabel_packet() local
5578 tsid = __tsec->sid; in selinux_secmark_relabel_packet()
5581 tsid, sid, SECCLASS_PACKET, PACKET__RELABELTO, in selinux_secmark_relabel_packet()
/security/selinux/include/
Davc.h49 u32 tsid; member
101 u32 ssid, u32 tsid, u16 tclass,
126 u32 ssid, u32 tsid, in avc_audit() argument
136 return slow_avc_audit(state, ssid, tsid, tclass, in avc_audit()
144 u32 ssid, u32 tsid,
150 u32 ssid, u32 tsid,
155 u32 ssid, u32 tsid, u16 tclass, u32 requested,
Dsecurity.h307 u32 ssid, u32 tsid,
312 u32 ssid, u32 tsid, u16 tclass,
317 u32 ssid, u32 tsid,
321 u32 ssid, u32 tsid, u16 tclass,
325 u32 ssid, u32 tsid, u16 tclass,
328 int security_member_sid(struct selinux_state *state, u32 ssid, u32 tsid,
331 int security_change_sid(struct selinux_state *state, u32 ssid, u32 tsid,
/security/selinux/ss/
Dservices.c1017 u32 tsid, in security_compute_xperms_decision() argument
1054 tcontext = sidtab_search(sidtab, tsid); in security_compute_xperms_decision()
1057 __func__, tsid); in security_compute_xperms_decision()
1114 u32 tsid, in security_compute_av() argument
1146 tcontext = sidtab_search(sidtab, tsid); in security_compute_av()
1149 __func__, tsid); in security_compute_av()
1173 u32 tsid, in security_compute_av_user() argument
1202 tcontext = sidtab_search(sidtab, tsid); in security_compute_av_user()
1205 __func__, tsid); in security_compute_av_user()
1727 u32 tsid, in security_compute_sid() argument
[all …]