Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/colord/colord/
H A D08a32b2379fb5582f4312e59bf51a2823df56276.patch27 …CAP_KILL CAP_MKNOD CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_RESOURC…
/openbmc/linux/include/uapi/linux/
H A Dcapability.h294 #define CAP_SYS_NICE 23 macro
/openbmc/linux/arch/mips/kernel/
H A Dmips-mt-fpaff.c105 if (!check_same_owner(p) && !capable(CAP_SYS_NICE)) { in mipsmt_sys_sched_setaffinity()
/openbmc/linux/block/
H A Dioprio.c47 if (!capable(CAP_SYS_ADMIN) && !capable(CAP_SYS_NICE)) in ioprio_check_cap()
H A Dblk-ioc.c259 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { in set_task_ioprio()
/openbmc/linux/mm/
H A Dmempolicy.c1273 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in do_mbind()
1643 if (!nodes_subset(*new, task_nodes) && !capable(CAP_SYS_NICE)) { in kernel_migrate_pages()
1666 capable(CAP_SYS_NICE) ? MPOL_MF_MOVE_ALL : MPOL_MF_MOVE); in kernel_migrate_pages()
H A Dmadvise.c1505 if (!capable(CAP_SYS_NICE)) { in SYSCALL_DEFINE5()
H A Dmigrate.c2435 if ((flags & MPOL_MF_MOVE_ALL) && !capable(CAP_SYS_NICE)) in kernel_move_pages()
/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dinode.c412 !capable(CAP_SYS_NICE)) in spufs_create_context()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c106 if (capable(CAP_SYS_NICE)) in amdgpu_ctx_priority_permit()
/openbmc/linux/security/
H A Dcommoncap.c1179 if (!is_subset && !ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) in cap_safe_nice()
/openbmc/linux/fs/proc/
H A Dbase.c2621 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in timerslack_ns_write()
2660 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in timerslack_ns_show()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.c188 !capable(CAP_SYS_NICE)) in validate_priority()
/openbmc/linux/kernel/sched/
H A Dcore.c7266 return is_nice_reduction(p, nice) || capable(CAP_SYS_NICE); in can_nice()
7616 if (!capable(CAP_SYS_NICE)) in user_check_sched_setscheduler()
8393 if (!ns_capable(__task_cred(p)->user_ns, CAP_SYS_NICE)) { in sched_setaffinity()
/openbmc/linux/kernel/
H A Dsys.c185 if (ns_capable(pcred->user_ns, CAP_SYS_NICE)) in set_one_prio_perm()