xref: /original-bsd/sys/sys/vlimit.h (revision 6c57d260)
1 /*	vlimit.h	4.3	81/04/13	*/
2 
3 /*
4  * Limits for u.u_limit[i], per process, inherited.
5  */
6 #define	LIM_NORAISE	0	/* if <> 0, can't raise limits */
7 #define	LIM_CPU		1	/* max secs cpu time */
8 #define	LIM_FSIZE	2	/* max size of file created */
9 #define	LIM_DATA	3	/* max growth of data space */
10 #define	LIM_STACK	4	/* max growth of stack */
11 #define	LIM_CORE	5	/* max size of ``core'' file */
12 #define	LIM_MAXRSS	6	/* max desired data+stack core usage */
13 
14 #define	NLIMITS		6
15 
16 #define	INFINITY	0x7fffffff
17