Add missing resource limits:

- RLIMIT_NPTS
- RLIMIT_SWAP

MFC after:	1 week
This commit is contained in:
Sergey Kandaurov 2011-03-24 16:06:57 +00:00
parent 7b83029b7b
commit c6b2aa689a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219963

View File

@ -19,7 +19,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd March 6, 2011 .Dd March 24, 2011
.Dt LOGIN_CLASS 3 .Dt LOGIN_CLASS 3
.Os .Os
.Sh NAME .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 or -max (hard limit) suffixes and the corresponding resource
setting: setting:
.Bd -literal .Bd -literal
cputime RLIMIT_CPU cputime RLIMIT_CPU
filesize RLIMIT_FSIZE filesize RLIMIT_FSIZE
datasize RLIMIT_DATA datasize RLIMIT_DATA
stacksize RLIMIT_STACK stacksize RLIMIT_STACK
coredumpsize RLIMIT_CORE coredumpsize RLIMIT_CORE
memoryuse RLIMIT_RSS memoryuse RLIMIT_RSS
memorylocked RLIMIT_MEMLOCK memorylocked RLIMIT_MEMLOCK
maxproc RLIMIT_NPROC maxproc RLIMIT_NPROC
openfiles RLIMIT_NOFILE openfiles RLIMIT_NOFILE
sbsize RLIMIT_SBSIZE sbsize RLIMIT_SBSIZE
vmemoryuse RLIMIT_VMEM vmemoryuse RLIMIT_VMEM
pseudoterminals RLIMIT_NPTS
swapuse RLIMIT_SWAP
.Ed .Ed
.It LOGIN_SETPRIORITY .It LOGIN_SETPRIORITY
Set the scheduling priority for the current process based on the Set the scheduling priority for the current process based on the