Commit | Line | Data |
---|---|---|
da7c5cc6 | 1 | /* |
1810611d | 2 | * Copyright (c) 1982, 1986 Regents of the University of California. |
da7c5cc6 KM |
3 | * All rights reserved. The Berkeley software License Agreement |
4 | * specifies the terms and conditions for redistribution. | |
5 | * | |
1810611d | 6 | * @(#)vlimit.h 7.1 (Berkeley) %G% |
da7c5cc6 | 7 | */ |
0f39be80 BJ |
8 | |
9 | /* | |
10 | * Limits for u.u_limit[i], per process, inherited. | |
11 | */ | |
12 | #define LIM_NORAISE 0 /* if <> 0, can't raise limits */ | |
13 | #define LIM_CPU 1 /* max secs cpu time */ | |
14 | #define LIM_FSIZE 2 /* max size of file created */ | |
15 | #define LIM_DATA 3 /* max growth of data space */ | |
16 | #define LIM_STACK 4 /* max growth of stack */ | |
17 | #define LIM_CORE 5 /* max size of ``core'' file */ | |
7d1f7019 | 18 | #define LIM_MAXRSS 6 /* max desired data+stack core usage */ |
044670d9 | 19 | |
7d1f7019 | 20 | #define NLIMITS 6 |
b6f151b4 | 21 | |
044670d9 | 22 | #define INFINITY 0x7fffffff |