/kernel/linux/linux-6.6/security/selinux/ |
H A D | hooks.c | 769 rc = security_transition_sid(current_sid(), in selinux_set_mnt_opts() 770 current_sid(), in selinux_set_mnt_opts() 1846 u32 sid = current_sid(); in may_link() 1889 u32 sid = current_sid(); in may_rename() 2021 return avc_has_perm(current_sid(), cred_sid(mgr), SECCLASS_BINDER, in selinux_binder_set_context_mgr() 2028 u32 mysid = current_sid(); in selinux_binder_transaction() 2092 u32 sid = current_sid(); in selinux_ptrace_access_check() 2112 return avc_has_perm(current_sid(), task_sid_obj(target), in selinux_capget() 2188 return avc_has_perm(current_sid(), SECINITSID_KERNEL, in selinux_syslog() 2194 return avc_has_perm(current_sid(), SECINITSID_KERNE in selinux_syslog() [all...] |
H A D | selinuxfs.c | 163 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_SECURIT in sel_write_relabel() [all...] |
/kernel/linux/linux-5.10/security/selinux/ |
H A D | hooks.c | 747 current_sid(), in selinux_set_mnt_opts() 748 current_sid(), in selinux_set_mnt_opts() 1836 u32 sid = current_sid(); in may_link() 1881 u32 sid = current_sid(); in may_rename() 2020 current_sid(), cred_sid(mgr), SECCLASS_BINDER, in selinux_binder_set_context_mgr() 2027 u32 mysid = current_sid(); in selinux_binder_transaction() 2095 u32 sid = current_sid(); in selinux_ptrace_access_check() 2109 task_sid(parent), current_sid(), SECCLASS_PROCESS, in selinux_ptrace_traceme() 2117 current_sid(), task_sid(target), SECCLASS_PROCESS, in selinux_capget() 2195 current_sid(), SECINITSID_KERNE in selinux_syslog() [all...] |
H A D | selinuxfs.c | 167 current_sid(), SECINITSID_SECURITY, in sel_write_enforce() 404 current_sid(), SECINITSID_SECURITY, in sel_open_policy() 466 current_sid(), SECINITSID_SECURITY, in sel_read_policy() 626 current_sid(), SECINITSID_SECURITY, in sel_write_load() 685 current_sid(), SECINITSID_SECURITY, in sel_write_context() 733 current_sid(), SECINITSID_SECURITY, in sel_write_checkreqprot() 787 current_sid(), SECINITSID_SECURITY, in sel_write_validatetrans() 916 current_sid(), SECINITSID_SECURITY, in sel_write_access() 970 current_sid(), SECINITSID_SECURITY, in sel_write_create() 1072 current_sid(), SECINITSID_SECURIT in sel_write_relabel() [all...] |
/kernel/linux/common_modules/code_sign/ |
H A D | code_sign_ioctl.c | 72 u32 sid = current_sid(), context_len; in code_sign_check_caller() 185 u32 sid = current_sid(); in code_sign_avc_has_perm()
|
/kernel/linux/linux-5.10/security/selinux/include/ |
H A D | objsec.h | 185 static inline u32 current_sid(void) in current_sid() function
|
/kernel/linux/linux-6.6/security/selinux/include/ |
H A D | objsec.h | 184 static inline u32 current_sid(void) in current_sid() function
|
/kernel/linux/common_modules/xpm/core/ |
H A D | xpm_security_hooks.c | 184 u32 sid = current_sid(); in xpm_avc_has_perm()
|
/kernel/linux/common_modules/container_escape_detection/core/ |
H A D | ced_detection.c | 51 u32 sid = current_sid(); in ced_avc_has_perm()
|