freebsd-dev/usr.bin
Ed Schouten a583eb0809 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>
2008-09-02 19:13:24 +00:00
..
alias
apply
ar GNU ar did NOT implment option -q as a synonym of -r as the manual 2008-03-11 18:35:51 +00:00
asa
at
atm
awk Allow awk (the one true one!) to handle 64 files instead of just 20. 2008-03-27 01:33:26 +00:00
banner
basename
biff
bluetooth Fix build 2008-07-29 17:02:00 +00:00
brandelf
bsdiff
bzip2
bzip2recover
c89
c99
calendar Move functions which are only locally used into their C files and 2008-08-05 08:16:37 +00:00
cap_mkdb
catman
chat
checknr Fix some "in in" typos in comments. 2008-03-26 07:32:08 +00:00
chkey
chpass
cksum Change a use of u_int32_t to uint32_t. 2008-05-15 20:04:36 +00:00
cmp add __unused to succeed at WARNS=6 2008-07-10 13:26:46 +00:00
col
colcrt
colldef
colrm
column
comm Similar to changes previously made to src/usr.bin/uniq/uniq.c, 2008-05-28 14:13:35 +00:00
compile_et
compress
cpio MfP4: Verify correct interaction with umask: Add another 2008-08-25 06:39:29 +00:00
cpuset - Add support for interrupt bindig to cpuset(1). Interrupts are bound 2008-04-11 03:27:42 +00:00
csplit
csup
ctags
cut
dig
dirname
du
ee
elf2aout
elfdump
enigma
env Update the date on the man-page to reflect the date that the '-u name' 2008-05-06 16:06:02 +00:00
expand
false
fetch Use the SCHEME_ knobs rather than knowing what they expand to. 2008-08-21 14:12:34 +00:00
file
file2c
find
finger
fmt
fold
from
fstat Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
fsync
ftp
gcore Use %zd for size_t. With this gcore(1) is WARNS=6 clean. 2008-07-18 23:37:05 +00:00
gencat
getconf
getent
getopt getopt.c is public domain. Add a comment to that effect. 2008-05-15 19:27:52 +00:00
gprof Add gprof MIPS MD header and enable building gprof. 2008-09-02 15:35:47 +00:00
gzip Mark functions as __dead2 in order to help the LLVM static checker 2008-08-04 07:36:53 +00:00
head
hesinfo
hexdump
host
id
indent
ipcrm
ipcs
join
jot
kdump Remove netatm from HEAD as it is not MPSAFE and relies on the now removed 2008-05-25 22:11:40 +00:00
keylogin
keylogout
killall
ktrace Spell -t option's argument by name. 2008-04-02 09:41:29 +00:00
ktrdump
lam
last
lastcomm
ldd A few style and whitespace fixes. 2008-08-02 12:04:59 +00:00
leave
less
lessecho
lesskey
lex Mark functions as __dead2 in order to help the LLVM static checker 2008-08-04 01:25:48 +00:00
limits Add support for RLIMIT_NPTS to limits(1). 2008-09-02 19:13:24 +00:00
locale
locate Use RUSAGE_SELF for the current process instead of hardcoded value 2008-09-02 02:59:38 +00:00
lock
lockf Lockf was exiting with status 1 if the command did not exit normally. 2008-08-21 07:36:17 +00:00
logger
login
logins
logname
look
lorder
lsvfs
m4
mail
make Use arc4random_uniform(3) 2008-08-07 22:22:41 +00:00
makewhatis
mesg
minigzip
ministat Fix apparent typo. The permitted confidence values include 95%, not 85%. 2008-03-12 00:13:49 +00:00
mkdep
mkfifo
mklocale
mkstr
mktemp
mkuzip
msgs
mt
nc
ncal
ncplist
ncplogin
netstat Minimize changes CURRENT<->releng7. 2008-09-01 15:04:38 +00:00
newgrp
newkey
nfsstat
nice
nl
nohup
nslookup
nsupdate
objformat
opieinfo
opiekey
opiepasswd
pagesize
passwd
paste
pathchk
pr
printenv
printf POSIX says that octal escapes have the format \ddd in the format string, 2008-08-02 06:02:02 +00:00
procstat Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
quota Make quota(1) to compile with WARNS=6: 2008-08-04 00:43:49 +00:00
renice
rev Make usage() 'static'. 2008-06-08 12:43:02 +00:00
rlogin
rpcgen When generating thread-safe server code, handle procedures with void return 2008-08-12 13:38:06 +00:00
rpcinfo
rs Setting a variable to the same value twice doesn't actually make it 2008-08-04 06:39:52 +00:00
rsh
rup
ruptime Initialize variable "now" before using it (it is used by the LEFTEARTH 2008-03-17 18:31:43 +00:00
rusers
rwall
rwho
script
sed Correct a silly typo I introduced: withing -> within. 2008-09-01 17:48:40 +00:00
setchannel
shar Remove superfluous eofmarker. 2008-06-17 18:56:04 +00:00
showmount
smbutil
sockstat Add -L to usage(). 2008-05-19 11:35:11 +00:00
split Add a -n option to split(1) to split files into N chunks rather than 2008-03-16 15:15:32 +00:00
stat The referenced section name is 'Formats', not 'FORMATS'. 2008-04-29 07:35:31 +00:00
su - add the -m option to the example commands because they would fail w/o it 2008-07-01 20:56:23 +00:00
systat
tabs
tail
talk ANSIfy function prototypes. While I am there, constify some parameters and 2008-04-28 21:08:42 +00:00
tar Minor cleanup of the -q test: Assert that stdout/stderr are empty for each 2008-08-22 01:35:08 +00:00
tcopy
tee
telnet Fix conflicts after heimdal-1.1 import and add build infrastructure. Import 2008-05-07 13:53:12 +00:00
tftp
time
tip Relinquish exclusive TTY access when tip(1) or cu(1) exit. 2008-05-03 02:29:02 +00:00
top system_info.cpustates isn't sparse, so a bitmask of available CPU states 2008-04-11 11:39:26 +00:00
touch
tput
tr
true
truncate Don't close file descriptor number <whatever random garbage was on the 2008-08-04 06:48:54 +00:00
truss Try to make this code slightly less painful to read. 2008-07-31 17:15:21 +00:00
tset
tsort
tty
ul
uname
unexpand
unifdef Add AUTHORS section[*] and fix HISTORY section. 2008-05-02 16:23:47 +00:00
uniq
units Add limited support for units that are related by affine rather 2008-08-16 16:27:41 +00:00
unvis
unzip Update man page for -t. 2008-06-30 17:16:05 +00:00
usbhidaction
usbhidctl
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat Use kvm_getcptime(3) to fetch the global CPU time stats from a crashdump 2008-08-19 21:33:09 +00:00
w w(1) uses strftime %b with to print the abbreviated month name 2008-08-20 12:32:19 +00:00
wall
wc
what
whereis Make the search for sources in PATH_PORTS more accurate. I only 2008-06-20 08:39:42 +00:00
which
who
whois
window Delete unused files in the window(1) directory that contain a colon. 2008-08-09 14:44:04 +00:00
write
xargs
xinstall
xlint MFp4(mips2-jnpr): 2008-04-04 21:35:13 +00:00
xstr Improve temporary file handling 2008-05-13 09:42:03 +00:00
yacc Setting a variable to the same value twice doesn't actually make it 2008-08-04 06:39:52 +00:00
yes
ypcat
ypmatch
ypwhich
Makefile Add gprof MIPS MD header and enable building gprof. 2008-09-02 15:35:47 +00:00
Makefile.inc