diff -ru lib/libutil.orig/login.conf.5 lib/libutil/login.conf.5 --- lib/libutil.orig/login.conf.5 2004-04-22 13:52:55.000000000 -0300 +++ lib/libutil/login.conf.5 2004-09-12 16:30:16.000000000 -0300 @@ -167,6 +167,7 @@ .It "vmemoryuse size Maximum permitted total VM useage per process. .It "stacksize size Maximum stack size limit. .It "posixlocks size Maximum number of POSIX-type advisory-mode locks. +.It "forkdepth number Maximum depth of the process tree having the current process as its root. .El .Pp These resource limit entries actually specify both the maximum diff -ru lib/libutil.orig/login_class.c lib/libutil/login_class.c --- lib/libutil.orig/login_class.c 2004-04-22 13:52:55.000000000 -0300 +++ lib/libutil/login_class.c 2004-09-12 16:31:33.000000000 -0300 @@ -61,6 +61,7 @@ #ifdef RLIMIT_POSIXLOCKS { "posixlocks", login_getcapnum, RLIMIT_POSIXLOCKS }, #endif + { "forkdepth", login_getcapnum, RLIMIT_FORK }, { NULL, 0, 0 } };