freebsd-skq/usr.bin
Thomas Moestl 342e2faa09 Get rid of setgid kmem for systat, and while being there, fix some bugs
and compiler warnings.
The data for network statistics are still obtained via the kvm interface
if systat was started with the needed privileges, otherwise sysctls are
used. The reason for this is that with really many open sockets, the
sysctl method is probably slower, but it systat -netstat is probably not
really usable in either mode under these conditions.

Approved by:	rwatson
2001-03-23 03:58:25 +00:00
..
apply Fix bogus checking of snprintf() by decreasing the remaining size of the 2001-01-25 03:40:17 +00:00
ar Don't attempt to parse %c 2001-03-21 20:47:43 +00:00
at mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
banner BDECFLAGS. 2001-03-04 12:28:57 +00:00
basename mdoc(7) police: utilize .St macro. 2001-02-26 15:55:52 +00:00
biff mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
brandelf Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
c89 Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
calendar Don't attempt to parse %c, use nl_langinfo instead 2001-03-21 15:41:02 +00:00
cap_mkdb mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
chat Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
checknr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
chflags Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
chkey mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
chpass Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
cksum mdoc(7) police: Change -filled displays (which just happen 2001-02-07 13:45:30 +00:00
cmp mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
col mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
colcrt mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
colldef Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
colrm mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
column mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
comm Rework diagnostics text 2001-02-06 20:01:40 +00:00
compile_et
compress mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ctags mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
cut Remove duplicate FreeBSD Id 2001-02-06 20:03:48 +00:00
dig Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
dirname Reintroduce functionality and error checks that were boneheadedly removed 2000-09-06 07:28:02 +00:00
dnskeygen New program in the bind suite. I'm not sure that it's worth much while 1999-11-30 06:26:14 +00:00
dnsquery Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
doscmd Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
du mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ee mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
enigma mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
env
expand mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
false Fix typo 2001-01-25 13:13:55 +00:00
fetch If SIGINFO is received during the transfer, print a status line similar 2001-03-07 05:33:50 +00:00
file mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
file2c mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
find Don't attempt to parse %c, use nl_langinfo instead 2001-03-21 15:51:50 +00:00
finger Don't attempt to parse %c 2001-03-21 18:43:49 +00:00
fmt Mark up the optional -c option with the Op macro. 2000-03-09 09:27:40 +00:00
fold mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
from Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
fstat Fix `fstat -m' (show memory-mapped files), which was broken by 2001-02-15 22:42:44 +00:00
fsync mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ftp Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
gcore MAXPATHLEN contains the trailing NUL. 2001-03-01 06:00:22 +00:00
gencat Optimize gencat(1) sources in same manner as its libc part some time ago: 2001-02-08 16:38:16 +00:00
gensetdefs mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
getconf Reword the description a little bit more for parallel construction. 2001-02-21 19:33:38 +00:00
getopt mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
gprof Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
gprof4
head mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
hesinfo man(7) -> mdoc(7). 2001-01-16 17:04:17 +00:00
hexdump mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
host Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
id mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
indent Fix indent endless on garbage input (i.e., if it encountered EOF while 2001-02-27 20:50:34 +00:00
ipcrm mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ipcs mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
join mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
jot Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
kdump Fix ioctl.c creation to deal with the depend case more properly. 2000-09-14 18:52:48 +00:00
kenv kenv(1) first appeared in FreeBSD 4.1.1, not FreeBSD 5.0. 2000-11-23 11:21:35 +00:00
key Remove one more incorrect section name. Typos. 2000-12-10 20:52:43 +00:00
keyinfo Add LIBCRYPT to DPADD. 2000-11-28 07:24:15 +00:00
keyinit Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 12:20:22 +00:00
keylogin Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
keylogout
killall Work around the p_comm[] size limit. If the user supplies more than 2001-02-14 21:56:03 +00:00
ktrace mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
lam mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
last Don't attempt to parse %c 2001-03-21 19:08:01 +00:00
lastcomm Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ldd Fix lseek args order (PR 23549) 2000-12-15 13:20:43 +00:00
leave mdoc(7) police: simplify construct. 2001-02-06 16:20:31 +00:00
less ncurses -> termcap 2000-07-14 16:17:42 +00:00
lessecho Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated 2000-06-03 11:39:38 +00:00
lesskey Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated 2000-06-03 11:39:38 +00:00
lex Install Flexlexer.h with mode 444. 1999-12-17 07:49:03 +00:00
limits Fixed some style bugs (bogus cloned Id, null overrides of defaults, and 2001-02-17 06:20:14 +00:00
locate Off by one error in reading mmap data. 2001-01-06 18:17:06 +00:00
lock mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
lockf Add history. 2000-12-10 01:10:54 +00:00
logger mdoc(7) police: document IPv6 options in the SYNOPSIS. 2000-12-18 08:37:53 +00:00
login Fix login so that it exports environmental variables that are set by PAM 2001-02-09 13:21:50 +00:00
logname Add DIAGNOSTICS section name 2000-03-26 14:42:14 +00:00
look mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
lorder Pick up the environment variable ${NM} if it exists and use that to list 2001-03-06 15:00:32 +00:00
lsvfs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
m4 The secure temporary directory is always created, so always remove it. 2001-02-28 19:21:44 +00:00
mail Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
make with my mentor hat on... 2001-03-15 10:33:00 +00:00
makewhatis mdoc(7) police: removed history info from the .Os call. 2000-12-14 11:40:41 +00:00
mesg
minigzip mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mk_cmds Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
mkdep mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mkfifo Add DIAGNOSTICS section name 2000-03-26 14:42:14 +00:00
mklocale mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
mkstr mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
mktemp Update HISTORY. 2001-02-28 03:33:44 +00:00
msgs mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
mt Print out resid portion of MTIOCGET returned data. 2001-01-21 01:33:31 +00:00
ncal Properly deal with one char weekdays 2001-03-22 00:38:46 +00:00
ncplist Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ncplogin mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
netstat Add an example of a novel technique to the IPv6 code. This technique seems 2001-03-19 08:51:56 +00:00
newkey Switch from using rand() or random() to a stronger, more appropriate PRNG 2001-03-05 02:15:38 +00:00
nfsstat Take setgid kmem away from nfsstat, it has not needed it for some time 2001-03-22 17:39:57 +00:00
nice Fix a typo and a punctuation mistake, the two of which conspired 2000-11-29 06:55:13 +00:00
nm Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
nohup mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
objformat Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
opieinfo
opiekey Fix minor style nits. 2000-05-14 21:13:57 +00:00
opiepasswd
pagesize mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
passwd reset uid back to the user before doing kerberised change password. 2001-03-12 03:52:00 +00:00
paste mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
pr Use nl_langinfo instead of %Ef 2001-03-21 14:32:02 +00:00
printenv Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
printf mdoc(7) police: mark LC_NUMERIC with .Dv. 2001-02-10 10:26:52 +00:00
quota mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ranlib mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
renice mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rev mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
rlogin mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
rpcgen Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
rpcinfo Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
rs Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
rsh [rsh.1] Document the -4' and -6' options. 2000-11-24 09:25:44 +00:00
rup Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
ruptime mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
rusers Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
rwall Prepare for mdoc(7)NG. 2001-01-16 09:39:23 +00:00
rwho Don't attempt to parse %c 2001-03-21 20:26:51 +00:00
sasc Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:44:00 +00:00
script mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
sed mdoc(7) police: use the default ``file ...'' feature of the .Ar macro. 2001-02-13 09:56:35 +00:00
shar Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
showmount mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
size mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
sockstat Use the newly introduced -W flag to netstat(1) to avoid truncated addresses. 2001-03-15 20:46:35 +00:00
soelim Don't call warn() with no format string. 2000-07-10 09:18:19 +00:00
split mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
strings getopt and friends are declared in <unistd.h> 2000-09-04 06:09:54 +00:00
strip
su o Make comment match reality, synch code with comment. 2000-11-30 23:14:55 +00:00
symorder
systat Get rid of setgid kmem for systat, and while being there, fix some bugs 2001-03-23 03:58:25 +00:00
tail Use EV_SET() macro to initialize kevent structure. 2001-02-28 16:16:31 +00:00
talk It may happen so that the local talk daemon is not running. 2000-10-05 17:39:01 +00:00
tconv mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
tcopy Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons, 2001-03-08 09:04:40 +00:00
tee Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
telnet Do not compile INET6 support if RELEASE_CRUNCH is defined 2001-02-18 07:28:31 +00:00
tftp Fix tftpd and tftp to support file transfers of over 65535 blocks 2001-02-02 10:53:02 +00:00
time Localize it (LC_NUMERIC) 2001-02-10 22:46:47 +00:00
tip mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
top Correct the top memory stats display: convert page counts to kB. 2001-03-20 16:02:16 +00:00
touch mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
tput Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
tr mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
true Fix typo 2001-01-25 13:13:55 +00:00
truncate mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:47:53 +00:00
truss Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
tset Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
tsort Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
tty
uac Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ul mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
uname
unexpand
unifdef mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
uniq Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
units All temperature scales are centigrades. Use "Celsius" instead. 2001-03-01 05:51:46 +00:00
unvis
usbhidctl Fix the build break. 2000-10-17 17:13:38 +00:00
users
uudecode While I'm in here, remove an unused variable. 2000-03-30 09:23:28 +00:00
uuencode Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
vacation Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
vgrind Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
vi Install Ukrainian message catalog. 2000-08-22 22:00:57 +00:00
vis
vmstat fix usage statement (add missing [-n devs] option) 2001-02-22 13:55:12 +00:00
w Fix width for printing time 2001-03-21 21:49:33 +00:00
wall Fix ttynames generation broken with strlcat 2001-03-05 14:10:15 +00:00
wc mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
what Add usage(). 2000-03-26 15:04:35 +00:00
whereis Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
which mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
who Don't attempt to parse %c 2001-03-21 19:16:41 +00:00
whois mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
window mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
write mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
xargs Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
xinstall Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
xlint mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
xstr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
yacc Have yacc use a prototype for yygrowstack(void) on ANSI compilers. 2001-02-19 01:10:01 +00:00
yes mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ypcat mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ypmatch mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ypwhich Prepare for mdoc(7)NG. 2000-12-27 16:52:31 +00:00
Makefile Removed some garbage (genassym(8) and its infrastructure). 2001-02-17 06:06:14 +00:00
Makefile.inc