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()
1873 u32 sid = current_sid(); in may_link()
1916 u32 sid = current_sid(); in may_rename()
2048 return avc_has_perm(current_sid(), cred_sid(mgr), SECCLASS_BINDER, in selinux_binder_set_context_mgr()
2055 u32 mysid = current_sid(); in selinux_binder_transaction()
2119 u32 sid = current_sid(); in selinux_ptrace_access_check()
2139 return avc_has_perm(current_sid(), task_sid_obj(target), in selinux_capget()
2215 return avc_has_perm(current_sid(), SECINITSID_KERNEL, in selinux_syslog()
[all …]
H A Dselinuxfs.c163 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_enforce()
373 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_open_policy()
434 ret = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_read_policy()
599 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_load()
651 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_context()
696 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_checkreqprot()
749 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_validatetrans()
875 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_access()
926 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_create()
1025 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_relabel()
[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.h221 static inline u32 current_sid(void) in current_sid() function