/security/selinux/ |
D | avc.c | 45 u32 ssid; member 124 static inline int avc_hash(u32 ssid, u32 tsid, u16 tclass) in avc_hash() argument 126 return (ssid ^ (tsid<<2) ^ (tclass<<4)) & (AVC_CACHE_SLOTS - 1); in avc_hash() 415 u32 ssid, u32 tsid, u16 tclass, in avc_xperms_audit() argument 427 return slow_avc_audit(state, ssid, tsid, tclass, requested, in avc_xperms_audit() 516 static void avc_node_populate(struct avc_node *node, u32 ssid, u32 tsid, u16 tclass, struct av_deci… in avc_node_populate() argument 518 node->ae.ssid = ssid; in avc_node_populate() 525 u32 ssid, u32 tsid, u16 tclass) in avc_search_node() argument 531 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node() 534 if (ssid == node->ae.ssid && in avc_search_node() [all …]
|
D | selinuxfs.c | 817 u32 ssid, tsid; in sel_write_access() local 842 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_access() 850 security_compute_av_user(state, ssid, tsid, tclass, &avd); in sel_write_access() 869 u32 ssid, tsid, newsid; in sel_write_create() local 933 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_create() 941 length = security_transition_sid_user(state, ssid, tsid, tclass, in sel_write_create() 972 u32 ssid, tsid, newsid; in sel_write_relabel() local 999 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_relabel() 1007 length = security_change_sid(state, ssid, tsid, tclass, &newsid); in sel_write_relabel() 1098 u32 ssid, tsid, newsid; in sel_write_member() local [all …]
|
D | hooks.c | 3598 u32 ssid = cred_sid(cred); in ioctl_has_perm() local 3608 if (ssid != fsec->sid) { in ioctl_has_perm() 3610 ssid, fsec->sid, in ioctl_has_perm() 3623 ssid, isec->sid, isec->sclass, in ioctl_has_perm()
|
/security/selinux/include/ |
D | avc.h | 48 u32 ssid; member 101 u32 ssid, u32 tsid, u16 tclass, 126 u32 ssid, u32 tsid, in avc_audit() argument 140 return slow_avc_audit(state, ssid, tsid, tclass, in avc_audit() 149 u32 ssid, u32 tsid, 155 u32 ssid, u32 tsid, 159 u32 ssid, u32 tsid, 165 u32 ssid, u32 tsid, u16 tclass, u32 requested,
|
D | security.h | 243 u32 ssid, u32 tsid, 248 u32 ssid, u32 tsid, u16 tclass, 253 u32 ssid, u32 tsid, 257 u32 ssid, u32 tsid, u16 tclass, 261 u32 ssid, u32 tsid, u16 tclass, 264 int security_member_sid(struct selinux_state *state, u32 ssid, u32 tsid, 267 int security_change_sid(struct selinux_state *state, u32 ssid, u32 tsid,
|
/security/selinux/ss/ |
D | services.c | 999 u32 ssid, in security_compute_xperms_decision() argument 1028 scontext = sidtab_search(sidtab, ssid); in security_compute_xperms_decision() 1031 __func__, ssid); in security_compute_xperms_decision() 1093 u32 ssid, in security_compute_av() argument 1113 scontext = sidtab_search(sidtab, ssid); in security_compute_av() 1116 __func__, ssid); in security_compute_av() 1150 u32 ssid, in security_compute_av_user() argument 1167 scontext = sidtab_search(sidtab, ssid); in security_compute_av_user() 1170 __func__, ssid); in security_compute_av_user() 1690 u32 ssid, in security_compute_sid() argument [all …]
|