Home
last modified time | relevance | path

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

/linux/security/selinux/
H A Dhooks.c749 sbsec->creator_sid = current_sid(); in selinux_set_mnt_opts()
799 rc = security_transition_sid(current_sid(), in selinux_set_mnt_opts()
800 current_sid(), in selinux_set_mnt_opts()
1912 u32 sid = current_sid(); in may_link()
1955 u32 sid = current_sid(); in may_rename()
2087 return avc_has_perm(current_sid(), cred_sid(mgr), SECCLASS_BINDER, in selinux_binder_transaction()
2094 u32 mysid = current_sid(); in selinux_binder_transaction()
2158 u32 sid = current_sid(); in selinux_ptrace_access_check()
2178 return avc_has_perm(current_sid(), task_sid_obj(target), in selinux_capset()
2254 return avc_has_perm(current_sid(), SECINITSID_KERNE in selinux_syslog()
[all...]
H A Dselinuxfs.c160 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_enforce()
343 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_open_policy()
391 ret = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_read_policy()
554 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_load()
606 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_context()
671 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_validatetrans()
797 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_access()
848 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_create()
947 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_relabel()
1014 length = avc_has_perm(current_sid(), SECINITSID_SECURIT 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.h238 static inline u32 current_sid(void) in current_sid() function