--- sys/sys/resource.h.orig 2004-09-12 16:12:19.000000000 -0300 +++ sys/sys/resource.h 2004-09-12 16:19:35.000000000 -0300 @@ -91,8 +91,9 @@ #define RLIMIT_SBSIZE 9 /* maximum size of all socket buffers */ #define RLIMIT_VMEM 10 /* virtual process size (inclusive of mmap) */ #define RLIMIT_POSIXLOCKS 11 /* maximum number of POSIX locks per user */ +#define RLIMIT_FORK 12 /* maximum fork depth */ -#define RLIM_NLIMITS 12 /* number of resource limits */ +#define RLIM_NLIMITS 13 /* number of resource limits */ #define RLIM_INFINITY ((rlim_t)(((u_quad_t)1 << 63) - 1))