summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2011-03-24 16:06:57 +0000
committerpluknet <pluknet@FreeBSD.org>2011-03-24 16:06:57 +0000
commit6e5f09a2229c3dafda3b8dd3581af91e48db5919 (patch)
treecae5f3a5a0a7cd8d9aaab3f851617175c4b182a3
parent9072e106a9d147f59367012c13959167e0257d26 (diff)
downloadFreeBSD-src-6e5f09a2229c3dafda3b8dd3581af91e48db5919.zip
FreeBSD-src-6e5f09a2229c3dafda3b8dd3581af91e48db5919.tar.gz
Add missing resource limits:
- RLIMIT_NPTS - RLIMIT_SWAP MFC after: 1 week
-rw-r--r--lib/libutil/login_class.326
1 files changed, 14 insertions, 12 deletions
diff --git a/lib/libutil/login_class.3 b/lib/libutil/login_class.3
index 021cc5e..62a65f2 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
OpenPOWER on IntegriCloud