Searched refs:CAP_SYS_NICE (Results 1 – 12 of 12) sorted by relevance
45 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { in set_task_ioprio()72 if (!capable(CAP_SYS_NICE) && !capable(CAP_SYS_ADMIN)) in ioprio_check_cap()
294 #define CAP_SYS_NICE 23 macro
105 if (!check_same_owner(p) && !capable(CAP_SYS_NICE)) { in mipsmt_sys_sched_setaffinity()
56 if (capable(CAP_SYS_NICE)) in amdgpu_ctx_priority_permit()
1281 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in do_mbind()1559 if (!nodes_subset(*new, task_nodes) && !capable(CAP_SYS_NICE)) { in kernel_migrate_pages()1582 capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE); in kernel_migrate_pages()
1935 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in kernel_move_pages()
413 !capable(CAP_SYS_NICE)) in spufs_create_context()
1092 if (!is_subset && !ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) in cap_safe_nice()
5023 capable(CAP_SYS_NICE)); in can_nice()5259 if (user && !capable(CAP_SYS_NICE)) { in __sched_setscheduler()5930 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in sched_setaffinity()
2525 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in timerslack_ns_write()2564 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in timerslack_ns_show()
2018 !capable(CAP_SYS_NICE)) in set_priority()
164 if (ns_capable(pcred->user_ns, CAP_SYS_NICE)) in set_one_prio_perm()