From 451ed471bf47c66dde92c14514b98a998c2a966b Mon Sep 17 00:00:00 2001 From: CSRG Date: Mon, 13 Apr 1981 06:20:31 -0800 Subject: [PATCH] BSD 4_1_snap development Work on file sys/h/vlimit.h Synthesized-from: CSRG/cd1/4.1.snap --- sys/h/vlimit.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys/h/vlimit.h diff --git a/sys/h/vlimit.h b/sys/h/vlimit.h new file mode 100644 index 0000000000..6df9997529 --- /dev/null +++ b/sys/h/vlimit.h @@ -0,0 +1,16 @@ +/* vlimit.h 4.3 81/04/13 */ + +/* + * Limits for u.u_limit[i], per process, inherited. + */ +#define LIM_NORAISE 0 /* if <> 0, can't raise limits */ +#define LIM_CPU 1 /* max secs cpu time */ +#define LIM_FSIZE 2 /* max size of file created */ +#define LIM_DATA 3 /* max growth of data space */ +#define LIM_STACK 4 /* max growth of stack */ +#define LIM_CORE 5 /* max size of ``core'' file */ +#define LIM_MAXRSS 6 /* max desired data+stack core usage */ + +#define NLIMITS 6 + +#define INFINITY 0x7fffffff -- 2.20.1