vserver 1.9.5.x5
[linux-2.6.git] / include / asm-alpha / resource.h
1 #ifndef _ALPHA_RESOURCE_H
2 #define _ALPHA_RESOURCE_H
3
4 /*
5  * Resource limits
6  */
7
8 #define RLIMIT_CPU      0               /* CPU time in ms */
9 #define RLIMIT_FSIZE    1               /* Maximum filesize */
10 #define RLIMIT_DATA     2               /* max data size */
11 #define RLIMIT_STACK    3               /* max stack size */
12 #define RLIMIT_CORE     4               /* max core file size */
13 #define RLIMIT_RSS      5               /* max resident set size */
14 #define RLIMIT_NOFILE   6               /* max number of open files */
15 #define RLIMIT_AS       7               /* address space limit(?) */
16 #define RLIMIT_NPROC    8               /* max number of processes */
17 #define RLIMIT_MEMLOCK  9               /* max locked-in-memory address space */
18 #define RLIMIT_LOCKS    10              /* maximum file locks held */
19 #define RLIMIT_SIGPENDING 11            /* max number of pending signals */
20 #define RLIMIT_MSGQUEUE 12              /* maximum bytes in POSIX mqueues */
21
22 #define RLIM_NLIMITS    13
23 #define __ARCH_RLIMIT_ORDER
24
25 /*
26  * SuS says limits have to be unsigned.  Fine, it's unsigned, but
27  * we retain the old value for compatibility, especially with DU. 
28  * When you run into the 2^63 barrier, you call me.
29  */
30 #define RLIM_INFINITY   0x7ffffffffffffffful
31
32 #include <asm-generic/resource.h>
33
34 #endif /* _ALPHA_RESOURCE_H */