diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2002-07-02 20:06:25 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2002-07-02 20:06:25 +0000 |
| commit | e9b23502de0a0314b703dca31d9689ebab5c8dbf (patch) | |
| tree | 6dea475c740c4d6980fed23240026894e0f8ebe6 /lib/libutil | |
| parent | 0ed532fb854d36175a55aaa5b6e1fa27232c24f1 (diff) | |
Notes
Diffstat (limited to 'lib/libutil')
| -rw-r--r-- | lib/libutil/login.conf.5 | 1 | ||||
| -rw-r--r-- | lib/libutil/login_class.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5 index 6c44a2a604be..6417cfc424b2 100644 --- a/lib/libutil/login.conf.5 +++ b/lib/libutil/login.conf.5 @@ -163,6 +163,7 @@ notation may be used. .It "memoryuse size Maximum of core memory use size limit. .It "openfiles number Maximum number of open files per process. .It "sbsize size Maximum permitted socketbuffer size. +.It "vmemoryuse size Maximum permitted total VM useage per process. .It "stacksize size Maximum stack size limit. .El .Pp diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c index 36c5c50539e3..052c329a8daf 100644 --- a/lib/libutil/login_class.c +++ b/lib/libutil/login_class.c @@ -56,6 +56,7 @@ static struct login_res { { "openfiles", login_getcapnum, RLIMIT_NOFILE }, { "coredumpsize", login_getcapsize, RLIMIT_CORE }, { "sbsize", login_getcapsize, RLIMIT_SBSIZE }, + { "vmemoryuse", login_getcapsize, RLIMIT_VMEM }, { NULL, 0, 0 } }; |
