CAP_SYS_NICE
if (!check_same_owner(p) && !capable(CAP_SYS_NICE)) {
!capable(CAP_SYS_NICE))
!uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) {
if (!capable(CAP_SYS_ADMIN) && !capable(CAP_SYS_NICE))
if (capable(CAP_SYS_NICE))
if (capable(CAP_SYS_NICE))
!capable(CAP_SYS_NICE))
if (!capable(CAP_SYS_NICE) && !drm_is_current_master(from_pvr_file(pvr_file)))
return (capable(CAP_SYS_NICE) || drm_is_current_master(file));
if (capable(CAP_SYS_NICE) || drm_is_current_master(file))
return capable(CAP_SYS_NICE) ? XE_EXEC_QUEUE_PRIORITY_HIGH :
return !capable(CAP_SYS_NICE);
if (capable(CAP_SYS_NICE)) {
if (!capable(CAP_SYS_NICE))
if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) {
if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) {
return is_nice_reduction(p, nice) || capable(CAP_SYS_NICE);
if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE))
if (!capable(CAP_SYS_NICE))
if (ns_capable(pcred->user_ns, CAP_SYS_NICE))
if (mm != current->mm && !capable(CAP_SYS_NICE)) {
if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE))
if (!nodes_subset(*new, task_nodes) && !capable(CAP_SYS_NICE)) {
capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE);
if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE))
if (!is_subset && !ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE))