From c6b2aa689a832a977f4e64cae3cbe04710311b93 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Thu, 24 Mar 2011 16:06:57 +0000 Subject: [PATCH] Add missing resource limits: - RLIMIT_NPTS - RLIMIT_SWAP MFC after: 1 week --- lib/libutil/login_class.3 | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/lib/libutil/login_class.3 b/lib/libutil/login_class.3 index 021cc5e5ee94..62a65f20c799 100644 --- a/lib/libutil/login_class.3 +++ b/lib/libutil/login_class.3 @@ -19,7 +19,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 6, 2011 +.Dd March 24, 2011 .Dt LOGIN_CLASS 3 .Os .Sh NAME @@ -105,17 +105,19 @@ Class capability tags used, with and without -cur (soft limit) or -max (hard limit) suffixes and the corresponding resource setting: .Bd -literal -cputime RLIMIT_CPU -filesize RLIMIT_FSIZE -datasize RLIMIT_DATA -stacksize RLIMIT_STACK -coredumpsize RLIMIT_CORE -memoryuse RLIMIT_RSS -memorylocked RLIMIT_MEMLOCK -maxproc RLIMIT_NPROC -openfiles RLIMIT_NOFILE -sbsize RLIMIT_SBSIZE -vmemoryuse RLIMIT_VMEM +cputime RLIMIT_CPU +filesize RLIMIT_FSIZE +datasize RLIMIT_DATA +stacksize RLIMIT_STACK +coredumpsize RLIMIT_CORE +memoryuse RLIMIT_RSS +memorylocked RLIMIT_MEMLOCK +maxproc RLIMIT_NPROC +openfiles RLIMIT_NOFILE +sbsize RLIMIT_SBSIZE +vmemoryuse RLIMIT_VMEM +pseudoterminals RLIMIT_NPTS +swapuse RLIMIT_SWAP .Ed .It LOGIN_SETPRIORITY Set the scheduling priority for the current process based on the