xref: /original-bsd/sys/sys/vlimit.h (revision 2301fdfb)
1 /*
2  * Copyright (c) 1982, 1986 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  *
6  *	@(#)vlimit.h	7.1 (Berkeley) 06/04/86
7  */
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 */
18 #define	LIM_MAXRSS	6	/* max desired data+stack core usage */
19 
20 #define	NLIMITS		6
21 
22 #define	INFINITY	0x7fffffff
23