Lines Matching refs:current_cred
148 cred = current_cred(); in cap_ptrace_access_check()
185 child_cred = current_cred(); in cap_ptrace_traceme()
232 if (cap_capable(current_cred(), current_cred()->user_ns, in cap_inh_is_capped()
485 const struct cred *old = current_cred(); in cap_bprm_set_creds()
596 const struct cred *cred = current_cred(); in cap_bprm_secureexec()
779 current_cred()->cap_permitted); in cap_safe_nice()
860 const struct cred *old = current_cred(); in cap_task_prctl()
896 || (cap_capable(current_cred(), in cap_task_prctl()
897 current_cred()->user_ns, CAP_SETPCAP, in cap_task_prctl()
955 if (cap_capable(current_cred(), &init_user_ns, CAP_SYS_ADMIN, in cap_vm_enough_memory()
975 ret = cap_capable(current_cred(), &init_user_ns, CAP_SYS_RAWIO, in cap_mmap_addr()