Searched refs:current_sid (Results 1 – 4 of 4) sorted by relevance
| /linux/security/selinux/ |
| H A D | hooks.c | 751 sbsec->creator_sid = current_sid(); in selinux_set_mnt_opts() 801 rc = security_transition_sid(current_sid(), in selinux_set_mnt_opts() 802 current_sid(), in selinux_set_mnt_opts() 1914 u32 sid = current_sid(); in may_link() 1957 u32 sid = current_sid(); in may_rename() 2089 return avc_has_perm(current_sid(), cred_sid(mgr), SECCLASS_BINDER, in selinux_binder_set_context_mgr() 2096 u32 mysid = current_sid(); in selinux_binder_transaction() 2160 u32 sid = current_sid(); in selinux_ptrace_access_check() 2180 return avc_has_perm(current_sid(), task_sid_obj(target), in selinux_capget() 2256 return avc_has_perm(current_sid(), SECINITSID_KERNE in selinux_syslog() [all...] |
| H A D | selinuxfs.c | 160 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_enforce() 340 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_open_policy() 388 ret = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_read_policy() 543 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_load() 595 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, 660 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, 786 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, 837 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_create() 936 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_create() 1003 length = avc_has_perm(current_sid(), SECINITSID_SECURIT in sel_write_user() [all...] |
| H A D | xfrm.c | 106 rc = avc_has_perm(current_sid(), ctx->ctx_sid, in selinux_xfrm_alloc_user() 140 return avc_has_perm(current_sid(), ctx->ctx_sid, in selinux_xfrm_delete()
|
| /linux/security/selinux/include/ |
| H A D | objsec.h | 238 static inline u32 current_sid(void) in current_sid() function
|