Home
last modified time | relevance | path

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

/Linux-v6.6/security/selinux/
Dhooks.c768 rc = security_transition_sid(current_sid(), in selinux_set_mnt_opts()
769 current_sid(), in selinux_set_mnt_opts()
1847 u32 sid = current_sid(); in may_link()
1890 u32 sid = current_sid(); in may_rename()
2022 return avc_has_perm(current_sid(), cred_sid(mgr), SECCLASS_BINDER, in selinux_binder_set_context_mgr()
2029 u32 mysid = current_sid(); in selinux_binder_transaction()
2093 u32 sid = current_sid(); in selinux_ptrace_access_check()
2113 return avc_has_perm(current_sid(), task_sid_obj(target), in selinux_capget()
2189 return avc_has_perm(current_sid(), SECINITSID_KERNEL, in selinux_syslog()
2195 return avc_has_perm(current_sid(), SECINITSID_KERNEL, in selinux_syslog()
[all …]
Dselinuxfs.c163 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_enforce()
376 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_open_policy()
437 ret = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_read_policy()
592 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_load()
649 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_context()
694 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_checkreqprot()
747 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_validatetrans()
873 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_access()
924 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_create()
1023 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_relabel()
[all …]
/Linux-v6.6/security/selinux/include/
Dobjsec.h184 static inline u32 current_sid(void) in current_sid() function