libexplain  1.4.D001
Defines | Functions
libexplain/capability/sys_nice.c File Reference
#include <libexplain/ac/sys/capability.h>
#include <libexplain/capability.h>

Go to the source code of this file.

Defines

#define CAP_SYS_NICE   42

Functions

int explain_capability_sys_nice (void)

Define Documentation

#define CAP_SYS_NICE   42

Definition at line 25 of file sys_nice.c.


Function Documentation

The explain_capability_sys_nice function may be used to determine whether or not the process has the CAP_SYS_NICE capability

Allow raising priority and setting priority on other (different UID) processes Allow use of FIFO and round-robin (realtime) scheduling on own processes and setting the scheduling algorithm used by another process.

Returns:
int; non-zero (true) if have the capability, zero (false) if not

Definition at line 30 of file sys_nice.c.