Home
last modified time | relevance | path

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

/security/selinux/
Davc.c51 u32 ssid; 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
526 node->ae.ssid = ssid; 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()
542 if (ssid == node->ae.ssid && in avc_search_node()
[all …]
Dselinuxfs.c917 u32 ssid, tsid; in sel_write_access() local
942 length = security_context_str_to_sid(state, scon, &ssid, 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
1033 length = security_context_str_to_sid(state, scon, &ssid, 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
1099 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_relabel()
1107 length = security_change_sid(state, ssid, tsid, tclass, &newsid); in sel_write_relabel()
1198 u32 ssid, tsid, newsid; in sel_write_member() local
[all …]
Dhooks.c3643 u32 ssid = cred_sid(cred); in ioctl_has_perm() local
3653 if (ssid != fsec->sid) { in ioctl_has_perm()
3655 ssid, fsec->sid, in ioctl_has_perm()
3668 ssid, isec->sid, isec->sclass, in ioctl_has_perm()
/security/selinux/include/
Davc.h48 u32 ssid; 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.c1016 u32 ssid, in security_compute_xperms_decision() argument
1047 scontext = sidtab_search(sidtab, ssid); in security_compute_xperms_decision()
1050 __func__, ssid); in security_compute_xperms_decision()
1113 u32 ssid, in security_compute_av() argument
1135 scontext = sidtab_search(sidtab, ssid); in security_compute_av()
1138 __func__, ssid); in security_compute_av()
1172 u32 ssid, in security_compute_av_user() argument
1191 scontext = sidtab_search(sidtab, ssid); in security_compute_av_user()
1194 __func__, ssid); in security_compute_av_user()
1726 u32 ssid, in security_compute_sid() argument
[all …]