Searched refs:current_sid (Results 1 – 3 of 3) sorted by relevance
/security/selinux/ |
D | hooks.c | 232 u32 sid = current_sid(); in inode_alloc_security() 367 u32 sid = current_sid(); in file_alloc_security() 876 rc = security_transition_sid(current_sid(), current_sid(), in selinux_set_mnt_opts() 1970 u32 sid = current_sid(); in may_link() 2013 u32 sid = current_sid(); in may_rename() 2144 u32 mysid = current_sid(); in selinux_binder_set_context_mgr() 2154 u32 mysid = current_sid(); in selinux_binder_transaction() 2220 u32 sid = current_sid(); in selinux_ptrace_access_check() 2231 return avc_has_perm(task_sid(parent), current_sid(), SECCLASS_PROCESS, in selinux_ptrace_traceme() 2238 return avc_has_perm(current_sid(), task_sid(target), SECCLASS_PROCESS, in selinux_capget() [all …]
|
D | selinuxfs.c | 142 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_enforce() 348 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_open_policy() 410 ret = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_read_policy() 480 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_load() 551 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_context() 595 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_checkreqprot() 638 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_validatetrans() 764 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_access() 815 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_create() 914 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_relabel() [all …]
|
/security/selinux/include/ |
D | objsec.h | 44 static inline u32 current_sid(void) in current_sid() function
|