Home
last modified time | relevance | path

Searched refs:current_sid (Results 1 – 4 of 4) sorted by relevance

/linux/security/selinux/
H A Dhooks.c740 sbsec->creator_sid = current_sid(); in selinux_set_mnt_opts()
790 rc = security_transition_sid(current_sid(), in selinux_set_mnt_opts()
791 current_sid(), in selinux_set_mnt_opts()
1897 u32 sid = current_sid(); in may_link()
1940 u32 sid = current_sid(); in may_rename()
2072 return avc_has_perm(current_sid(), cred_sid(mgr), SECCLASS_BINDER, in selinux_binder_set_context_mgr()
2079 u32 mysid = current_sid(); in selinux_binder_transaction()
2143 u32 sid = current_sid(); in selinux_ptrace_access_check()
2163 return avc_has_perm(current_sid(), task_sid_obj(target), in selinux_capget()
2239 return avc_has_perm(current_sid(), SECINITSID_KERNEL, in selinux_syslog()
[all …]
H A Dselinuxfs.c162 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_enforce()
345 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_open_policy()
393 ret = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_read_policy()
556 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_load()
608 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_context()
673 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_validatetrans()
799 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_access()
850 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_create()
949 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_relabel()
1016 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_member()
[all …]
H A Dxfrm.c105 rc = avc_has_perm(current_sid(), ctx->ctx_sid, in selinux_xfrm_alloc_user()
139 return avc_has_perm(current_sid(), ctx->ctx_sid, in selinux_xfrm_delete()
/linux/security/selinux/include/
H A Dobjsec.h230 static inline u32 current_sid(void) in current_sid() function