Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
resource.h File Reference

Go to the source code of this file.

Macros

#define RLIMIT_CPU   0 /* CPU time in sec */
 
#define RLIMIT_FSIZE   1 /* Maximum filesize */
 
#define RLIMIT_DATA   2 /* max data size */
 
#define RLIMIT_STACK   3 /* max stack size */
 
#define RLIMIT_CORE   4 /* max core file size */
 
#define RLIMIT_RSS   5 /* max resident set size */
 
#define RLIMIT_NPROC   6 /* max number of processes */
 
#define RLIMIT_NOFILE   7 /* max number of open files */
 
#define RLIMIT_MEMLOCK   8 /* max locked-in-memory address space */
 
#define RLIMIT_AS   9 /* address space limit */
 
#define RLIMIT_LOCKS   10 /* maximum file locks held */
 
#define RLIMIT_SIGPENDING   11 /* max number of pending signals */
 
#define RLIMIT_MSGQUEUE   12 /* maximum bytes in POSIX mqueues */
 
#define RLIMIT_NICE
 
#define RLIMIT_RTPRIO   14 /* maximum realtime priority */
 
#define RLIMIT_RTTIME   15 /* timeout for RT tasks in us */
 
#define RLIM_NLIMITS   16
 
#define RLIM_INFINITY   (~0UL)
 
#define _STK_LIM_MAX   RLIM_INFINITY
 

Macro Definition Documentation

#define _STK_LIM_MAX   RLIM_INFINITY

Definition at line 63 of file resource.h.

#define RLIM_INFINITY   (~0UL)

Definition at line 56 of file resource.h.

#define RLIM_NLIMITS   16

Definition at line 47 of file resource.h.

#define RLIMIT_AS   9 /* address space limit */

Definition at line 38 of file resource.h.

#define RLIMIT_CORE   4 /* max core file size */

Definition at line 19 of file resource.h.

#define RLIMIT_CPU   0 /* CPU time in sec */

Definition at line 15 of file resource.h.

#define RLIMIT_DATA   2 /* max data size */

Definition at line 17 of file resource.h.

#define RLIMIT_FSIZE   1 /* Maximum filesize */

Definition at line 16 of file resource.h.

#define RLIMIT_LOCKS   10 /* maximum file locks held */

Definition at line 41 of file resource.h.

#define RLIMIT_MEMLOCK   8 /* max locked-in-memory address space */

Definition at line 34 of file resource.h.

#define RLIMIT_MSGQUEUE   12 /* maximum bytes in POSIX mqueues */

Definition at line 43 of file resource.h.

#define RLIMIT_NICE
Value:
13 /* max nice prio allowed to raise to
0-39 for nice level 19 .. -20 */

Definition at line 44 of file resource.h.

#define RLIMIT_NOFILE   7 /* max number of open files */

Definition at line 30 of file resource.h.

#define RLIMIT_NPROC   6 /* max number of processes */

Definition at line 26 of file resource.h.

#define RLIMIT_RSS   5 /* max resident set size */

Definition at line 22 of file resource.h.

#define RLIMIT_RTPRIO   14 /* maximum realtime priority */

Definition at line 45 of file resource.h.

#define RLIMIT_RTTIME   15 /* timeout for RT tasks in us */

Definition at line 46 of file resource.h.

#define RLIMIT_SIGPENDING   11 /* max number of pending signals */

Definition at line 42 of file resource.h.

#define RLIMIT_STACK   3 /* max stack size */

Definition at line 18 of file resource.h.