freebsd-nq/usr.sbin
Dag-Erling Smørgrav db87d61acf The previous commit appeared to just shove the bug under the carpet rather
than really solve it.  This approach (inspired by Ruslan's patch) solves
the real problem by stripping the local domain off the host name in the
config line structure.

Also mark a bunch of code sections that either do not check the return value
of a strdup(), malloc() or calloc() call, or do not properly handle a NULL
return.
2001-09-13 06:48:41 +00:00
..
ac Don't mention wtmp.[0-7] in the FILES section. This manual page 2001-09-05 19:33:08 +00:00
accton Correct a typo. 2001-09-05 19:26:17 +00:00
acpi Fix typo. 2001-09-05 19:21:25 +00:00
adduser Print the correct filename if we fail to open $etc_passwd. 2001-09-06 12:21:21 +00:00
amd Strip non version _number_ bits from HOST_OS_VERSION. 2001-09-06 18:39:46 +00:00
ancontrol mdoc(7) police: use standard list width. 2001-09-11 11:15:48 +00:00
apm mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
apmd Handle snprintf() returning < 0 (not just -1) 2001-08-20 15:09:34 +00:00
arp Remove GCC'isms in CFLAGS. 2001-07-20 04:23:13 +00:00
atm Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
boot0cfg mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
boot98cfg mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
bootparamd can not -> cannot 2001-08-08 18:32:06 +00:00
btxld mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
burncd Use getprogname(3) instead of hardcoding the name.. 2001-09-11 12:14:20 +00:00
cdcontrol Fix some nits I missed in my style cleanup. 2001-07-20 15:33:04 +00:00
chkgrp Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
chown If a sentence starts inside parenthesis, it should end inside 2001-09-11 13:07:03 +00:00
chroot mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
ckdist mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
config Enable hardwiring of things like tunables from embedded enironments 2001-08-27 05:11:53 +00:00
cron Fix the @monthly and @weekly shortcuts so that they actually run 2001-08-16 14:23:59 +00:00
crunch Make source crunches work as well as object crunches; broken in the 2001-08-17 11:11:10 +00:00
ctm Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
daemon mdoc(7) police: minor formatting tweaks. 2001-08-31 12:52:50 +00:00
dev_mkdb Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
devinfo Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
digictl mdoc(7) police: -xwidth has been fold into -width. 2001-07-13 09:09:52 +00:00
diskpart Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
edquota Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
elf2exe mdoc(7) police: simplify literal display block. 2001-08-20 08:29:55 +00:00
extattrctl Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
faithd Handle ftp_copycommand() and ftp_copyresult() potentially returning < -1. 2001-08-20 15:01:06 +00:00
fdcontrol mdoc(7) police: 2001-08-07 15:48:51 +00:00
fdformat mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
fdread Remove GCC'isms in CFLAGS. 2001-07-20 04:23:13 +00:00
fdwrite mdoc(7) police: 2001-08-07 15:48:51 +00:00
getextattr Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
gifconfig mdoc(7) police: 2001-08-07 15:48:51 +00:00
i4b mdoc(7) police: s/NetBSD/.Nx/ where appropriate. 2001-08-13 17:00:36 +00:00
ifmcstat Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
inetd Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds 2001-09-05 20:10:59 +00:00
iostat Don't do unsafe activities in the syscall handler. 2001-09-01 07:40:19 +00:00
ipftest Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ipresend Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ipsend Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
iptest Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
IPXrouted Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
jail syslogd can now be configured to bind to a specific address. 2001-09-03 15:42:10 +00:00
kbdcontrol mdoc(7) police: 2001-08-07 15:48:51 +00:00
kbdmap mdoc(7) police: s/vidmap/vidfont/, don't xref to itself. 2001-09-04 13:10:28 +00:00
kernbb Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
keyadmin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
keyserv Fixed bitrot in DPADD in previous commit. 2001-07-30 11:18:09 +00:00
kgmon Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
kgzip mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
kldxref Add kldxref(8), for maintaining the linker.hints file for translating 2001-09-11 01:13:15 +00:00
lastlogin Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
lpr Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
lptcontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mailstats Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mailwrapper Don't free memory that was never allocated. This fixes a core dump in 2001-08-09 06:20:18 +00:00
makemap Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
manctl Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
memcontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mergemaster Hopefully squish the problem of mm creating sendmail files in 2001-08-07 06:22:12 +00:00
mixer Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mld6query Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mlxcontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mount_nwfs mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
mount_portalfs Actually rename FDESC, PORTAL, UMAP and UNION file systems. 2001-05-24 15:20:11 +00:00
mountd Silence non-constant format string warnings by marking functions 2001-08-19 08:19:37 +00:00
moused mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
mptable - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mrouted Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
mtest Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
mtree mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
named Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
named.reload Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
named.restart Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ndc Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ndp Do not delete 'goto ours' routes when using -c option. 2001-08-09 19:40:35 +00:00
newsyslog jhb says a 10 line change containing casts is more invasive than a 28 line 2001-07-31 16:25:55 +00:00
nfsd mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
ngctl mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
nghook mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
nologin Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nslookup Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
nsupdate Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ntp mdoc(7) police: This still can be done with one-line display. 2001-09-04 14:10:41 +00:00
pccard Change the access width of memory window from 8 bits to 16 bits. 2001-09-04 04:40:09 +00:00
pciconf Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
pcvt mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
periodic mdoc(7) police: expand plain text xrefs. 2001-08-08 11:48:28 +00:00
pim6dd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
pim6sd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
pkg_install Use a colon to separate the user and group when executing chown(1). 2001-09-11 11:11:38 +00:00
pnpinfo Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ppp Fix a diagnostic 2001-09-04 22:07:56 +00:00
pppctl Better handling of the return from snprintf 2001-08-18 22:46:06 +00:00
pppd Logging should wind up in /var/log, not /etc/ppp/. 2001-07-31 16:09:29 +00:00
pppstats Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
praliases Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
prefix mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
procctl Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
pstat SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
pw For new users, create the home directory before sending the welcome 2001-09-03 14:12:42 +00:00
pwd_mkdb It's bad enough to capitalize the name of the executable at the 2001-08-04 22:11:08 +00:00
quot mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
quotaon Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rarpd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
raycontrol Whack this code with the Blessed Wand of Stack Protection. 2001-08-08 22:27:02 +00:00
repquota mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
rip6query Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rmt atol -> strtoll, for file offset 2001-09-05 17:05:31 +00:00
route6d mdoc(7) police: 2001-08-07 15:48:51 +00:00
rpc.lockd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rpc.statd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rpc.umntall Fix a few bugs, some of which I introduced in recent commits: 2001-08-02 21:46:21 +00:00
rpc.yppasswdd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rpc.ypupdated Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rpc.ypxfrd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rpcbind Capitalize the first word in sentences, and put periods at the end of 2001-08-20 00:03:01 +00:00
rrenumd mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
rtadvd mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
rtprio Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rtsold mdoc(7) police: Fixed the .Ex calls in manpages that describe more 2001-09-11 12:27:15 +00:00
rwhod Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
sa mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
sade Return the *right* error codes for yes/no questions when non-interactive. 2001-09-11 20:42:07 +00:00
sendmail Convert to using the same method of detecting the secure directory as other 2001-08-03 16:22:47 +00:00
setextattr Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
setkey mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
sgsc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sicontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
sliplogin Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
slstat Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
spkrtest mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
spray Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
stallion Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
sysinstall Return the *right* error codes for yes/no questions when non-interactive. 2001-09-11 20:42:07 +00:00
syslogd The previous commit appeared to just shove the bug under the carpet rather 2001-09-13 06:48:41 +00:00
tcpdchk Don't clobber CFLAGS. 2001-08-04 21:48:18 +00:00
tcpdmatch Don't clobber the default for CFLAGS. 2001-08-31 11:05:24 +00:00
tcpdump mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
timed Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
traceroute Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
traceroute6 mdoc(7) police: 2001-08-07 15:48:51 +00:00
trpt SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
tzsetup mdoc(7) police: 2001-08-07 15:48:51 +00:00
usbd Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
usbdevs Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
vidcontrol mdoc(7) police: markup nits. 2001-09-10 09:08:47 +00:00
vipw Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
vnconfig Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
watch Automatically load the "snp" module if it isn't already present. 2001-09-09 14:57:48 +00:00
wicontrol Make wicontrol WARNS=2 clean. This is mostly just adding const to things. 2001-09-05 23:59:20 +00:00
wlconfig mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
xten Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
yp_mkdb Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ypbind Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
yppoll Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
yppush Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ypserv mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
ypset - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
zic Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
Makefile Add kldxref(8), for maintaining the linker.hints file for translating 2001-09-11 01:13:15 +00:00
Makefile.inc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00