Lines Matching refs:capable
236 p->uid != current->uid && !capable(CAP_SYS_NICE)) { in sys_setpriority()
242 if (niceval < p->nice && !capable(CAP_SYS_NICE)) in sys_setpriority()
294 if (!capable(CAP_SYS_BOOT)) in sys_reboot()
405 capable(CAP_SETGID)) in sys_setregid()
414 capable(CAP_SETGID)) in sys_setregid()
443 if (capable(CAP_SETGID)) in sys_setgid()
557 !capable(CAP_SETUID)) in sys_setreuid()
566 !capable(CAP_SETUID)) in sys_setreuid()
613 if (capable(CAP_SETUID)) { in sys_setuid()
646 if (!capable(CAP_SETUID)) { in sys_setresuid()
696 if (!capable(CAP_SETGID)) { in sys_setresgid()
748 capable(CAP_SETUID)) in sys_setfsuid()
790 capable(CAP_SETGID)) in sys_setfsgid()
978 if (!capable(CAP_SETGID)) in sys_setgroups()
1041 if (!capable(CAP_SYS_ADMIN)) in sys_sethostname()
1082 if (!capable(CAP_SYS_ADMIN)) in sys_setdomainname()
1142 !capable(CAP_SYS_RESOURCE)) in sys_setrlimit()