Annotation of Gnu-Mach/linux/src/include/asm-i386/resource.h, revision 1.1.1.1

1.1       root        1: #ifndef _I386_RESOURCE_H
                      2: #define _I386_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_NPROC   6               /* max number of processes */
                     15: #define RLIMIT_NOFILE  7               /* max number of open files */
                     16: #define RLIMIT_MEMLOCK 8               /* max locked-in-memory address space */
                     17: #define RLIMIT_AS      9               /* address space limit */
                     18: 
                     19: #define RLIM_NLIMITS   10
                     20: 
                     21: #ifdef __KERNEL__
                     22: 
                     23: #define INIT_RLIMITS                                   \
                     24: {                                                      \
                     25:        { LONG_MAX, LONG_MAX },                         \
                     26:        { LONG_MAX, LONG_MAX },                         \
                     27:        { LONG_MAX, LONG_MAX },                         \
                     28:        { _STK_LIM, _STK_LIM },                         \
                     29:        {        0, LONG_MAX },                         \
                     30:        { LONG_MAX, LONG_MAX },                         \
                     31:        { MAX_TASKS_PER_USER, MAX_TASKS_PER_USER },     \
                     32:        { NR_OPEN, NR_OPEN },                           \
                     33:        { LONG_MAX, LONG_MAX },                         \
                     34:        { LONG_MAX, LONG_MAX },                         \
                     35: }
                     36: 
                     37: #endif /* __KERNEL__ */
                     38: 
                     39: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.