Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/uapi/linux/
A Dcapability.h293 #define CAP_SYS_NICE 23 macro
/linux-6.3-rc2/arch/mips/kernel/
A Dmips-mt-fpaff.c105 if (!check_same_owner(p) && !capable(CAP_SYS_NICE)) { in mipsmt_sys_sched_setaffinity()
/linux-6.3-rc2/block/
A Dioprio.c47 if (!capable(CAP_SYS_ADMIN) && !capable(CAP_SYS_NICE)) in ioprio_check_cap()
A Dblk-ioc.c263 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { in set_task_ioprio()
/linux-6.3-rc2/mm/
A Dmempolicy.c1270 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in do_mbind()
1639 if (!nodes_subset(*new, task_nodes) && !capable(CAP_SYS_NICE)) { in kernel_migrate_pages()
1662 capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE); in kernel_migrate_pages()
A Dmadvise.c1498 if (!capable(CAP_SYS_NICE)) { in SYSCALL_DEFINE5()
A Dmigrate.c2457 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in kernel_move_pages()
/linux-6.3-rc2/arch/powerpc/platforms/cell/spufs/
A Dinode.c412 !capable(CAP_SYS_NICE)) in spufs_create_context()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ctx.c104 if (capable(CAP_SYS_NICE)) in amdgpu_ctx_priority_permit()
/linux-6.3-rc2/security/
A Dcommoncap.c1179 if (!is_subset && !ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) in cap_safe_nice()
/linux-6.3-rc2/fs/proc/
A 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-6.3-rc2/drivers/gpu/drm/i915/gem/
A Di915_gem_context.c188 !capable(CAP_SYS_NICE)) in validate_priority()
/linux-6.3-rc2/kernel/sched/
A Dcore.c7191 return is_nice_reduction(p, nice) || capable(CAP_SYS_NICE); in can_nice()
7528 if (!capable(CAP_SYS_NICE)) in user_check_sched_setscheduler()
8297 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in sched_setaffinity()
/linux-6.3-rc2/kernel/
A Dsys.c178 if (ns_capable(pcred->user_ns, CAP_SYS_NICE)) in set_one_prio_perm()

Completed in 58 milliseconds