Lines Matching refs:current_cred
140 cred = current_cred(); in cap_ptrace_access_check()
177 child_cred = current_cred(); in cap_ptrace_traceme()
223 if (cap_capable(current_cred(), current_cred()->user_ns, in cap_inh_is_capped()
740 const struct cred *old = current_cred(); in handle_privileged_root()
835 const struct cred *old = current_cred(); in cap_bprm_creds_from_file()
1114 current_cred()->cap_permitted); in cap_safe_nice()
1195 const struct cred *old = current_cred(); in cap_task_prctl()
1231 || (cap_capable(current_cred(), in cap_task_prctl()
1232 current_cred()->user_ns, in cap_task_prctl()
1289 return !!cap_raised(current_cred()->cap_ambient, arg3); in cap_task_prctl()
1295 (!cap_raised(current_cred()->cap_permitted, arg3) || in cap_task_prctl()
1296 !cap_raised(current_cred()->cap_inheritable, in cap_task_prctl()
1329 if (cap_capable(current_cred(), &init_user_ns, in cap_vm_enough_memory()
1350 ret = cap_capable(current_cred(), &init_user_ns, CAP_SYS_RAWIO, in cap_mmap_addr()