libexplain  1.4.D001
Defines | Functions
libexplain/capability/sys_resource.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_RESOURCE   42

Functions

int explain_capability_sys_resource (void)

Define Documentation

#define CAP_SYS_RESOURCE   42

Definition at line 25 of file sys_resource.c.


Function Documentation

The explain_capability_sys_resource function may be used to determine whether or not the process has the CAP_SYS_RESOURCE capability

Override resource limits. Set resource limits. Override quota limits. Override reserved space on ext2 filesystem NOTE: ext2 honors fsuid when checking for resource overrides, so you can override using fsuid too Override size restrictions on IPC message queues Allow more than 64hz interrupts from the real-time clock Override max number of consoles on console allocation Override max number of keymaps

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

Definition at line 30 of file sys_resource.c.