Home
last modified time | relevance | path

Searched refs:CAP_SYS_NICE (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/include/uapi/linux/
Dcapability.h294 #define CAP_SYS_NICE 23 macro
/Linux-v6.6/arch/mips/kernel/
Dmips-mt-fpaff.c105 if (!check_same_owner(p) && !capable(CAP_SYS_NICE)) { in mipsmt_sys_sched_setaffinity()
/Linux-v6.6/block/
Dioprio.c47 if (!capable(CAP_SYS_ADMIN) && !capable(CAP_SYS_NICE)) in ioprio_check_cap()
Dblk-ioc.c259 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { in set_task_ioprio()
/Linux-v6.6/mm/
Dmempolicy.c1276 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in do_mbind()
1655 if (!nodes_subset(*new, task_nodes) && !capable(CAP_SYS_NICE)) { in kernel_migrate_pages()
1678 capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE); in kernel_migrate_pages()
Dmadvise.c1509 if (!capable(CAP_SYS_NICE)) { in SYSCALL_DEFINE5()
Dmigrate.c2425 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in kernel_move_pages()
/Linux-v6.6/arch/powerpc/platforms/cell/spufs/
Dinode.c412 !capable(CAP_SYS_NICE)) in spufs_create_context()
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c106 if (capable(CAP_SYS_NICE)) in amdgpu_ctx_priority_permit()
/Linux-v6.6/security/
Dcommoncap.c1179 if (!is_subset && !ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) in cap_safe_nice()
/Linux-v6.6/fs/proc/
Dbase.c2562 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in timerslack_ns_write()
2601 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in timerslack_ns_show()
/Linux-v6.6/drivers/gpu/drm/i915/gem/
Di915_gem_context.c188 !capable(CAP_SYS_NICE)) in validate_priority()
/Linux-v6.6/kernel/sched/
Dcore.c7264 return is_nice_reduction(p, nice) || capable(CAP_SYS_NICE); in can_nice()
7614 if (!capable(CAP_SYS_NICE)) in user_check_sched_setscheduler()
8391 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in sched_setaffinity()
/Linux-v6.6/kernel/
Dsys.c185 if (ns_capable(pcred->user_ns, CAP_SYS_NICE)) in set_one_prio_perm()