Lines Matching refs:cred_sid
221 static inline u32 cred_sid(const struct cred *cred) in cred_sid() function
262 sid = cred_sid(__task_cred(task)); in task_sid_obj()
1623 u32 sid = cred_sid(cred); in cred_has_capability()
1666 sid = cred_sid(cred); in inode_has_perm()
1735 u32 sid = cred_sid(cred); in file_has_perm()
1751 rc = bpf_fd_pass(file, cred_sid(cred)); in file_has_perm()
1943 u32 sid = cred_sid(cred); in superblock_has_perm()
2020 return avc_has_perm(current_sid(), cred_sid(mgr), SECCLASS_BINDER, in selinux_binder_set_context_mgr()
2028 u32 fromsid = cred_sid(from); in selinux_binder_transaction()
2029 u32 tosid = cred_sid(to); in selinux_binder_transaction()
2046 return avc_has_perm(cred_sid(from), cred_sid(to), in selinux_binder_transfer_binder()
2055 u32 sid = cred_sid(to); in selinux_binder_transfer_file()
2120 return avc_has_perm(cred_sid(old), cred_sid(new), SECCLASS_PROCESS, in selinux_capset()
3059 sid = cred_sid(cred); in selinux_inode_follow_link()
3105 sid = cred_sid(cred); in selinux_inode_permission()
3652 u32 ssid = cred_sid(cred); in ioctl_has_perm()
3760 u32 sid = cred_sid(cred); in file_map_prot_check()
3833 u32 sid = cred_sid(cred); in selinux_file_mprotect()
4019 *secid = cred_sid(c); in selinux_cred_getsecid()
4196 return avc_has_perm(cred_sid(cred), cred_sid(tcred), in selinux_task_prlimit()
4247 secid = cred_sid(cred); in selinux_task_kill()
6638 sid = cred_sid(cred); in selinux_key_permission()
6950 return avc_has_perm(current_sid(), cred_sid(new), in selinux_uring_override_creds()