xref: /original-bsd/sys/sys/vlimit.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1982, 1986, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)vlimit.h	8.1 (Berkeley) 06/02/93
8  */
9 
10 /*
11  * Limits for u.u_limit[i], per process, inherited.
12  */
13 #define	LIM_NORAISE	0	/* if <> 0, can't raise limits */
14 #define	LIM_CPU		1	/* max secs cpu time */
15 #define	LIM_FSIZE	2	/* max size of file created */
16 #define	LIM_DATA	3	/* max growth of data space */
17 #define	LIM_STACK	4	/* max growth of stack */
18 #define	LIM_CORE	5	/* max size of ``core'' file */
19 #define	LIM_MAXRSS	6	/* max desired data+stack core usage */
20 
21 #define	NLIMITS		6
22 
23 #define	INFINITY	0x7fffffff
24