Date: Tue, 2 Sep 2008 19:13:24 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/limits limits.1 limits.c Message-ID: <200809021913.m82JDVfI096524@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2008-09-02 19:13:24 UTC
FreeBSD src repository
Modified files:
usr.bin/limits limits.1 limits.c
Log:
SVN rev 182685 on 2008-09-02 19:13:24Z by ed
Add support for RLIMIT_NPTS to limits(1).
After the MPSAFE TTY import we support an additional rlimit, called
RLIMIT_NPTS. This limit allows you to cap the amount of pseudo-terminals
allocated by one user.
We forgot to add support for this limit to limits(1), which means it
crashed. Add the proper bits to make it work like it should.
Unfortunately not all shells actually implement the RLIMIT, so
unfortunately I suspect it to be broken with certain shells.
Submitted by: Yuriy Tsibizov <yuriy tsibizov gfk ru>
Revision Changes Path
1.30 +6 -2 src/usr.bin/limits/limits.1
1.18 +62 -52 src/usr.bin/limits/limits.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809021913.m82JDVfI096524>
