freebsd-dev/usr.sbin
Garance A Drosehn 442e0eaf20 Change lpd to perform sanity and safety checks on control files as it
receives them from other hosts.  This is meant to protect from both
nefarious users (which maybe broke into some remote host that we accept
print jobs from), and broken implementations of lpr on other platforms.
This is done by changing recvjob.c to call the new ctl_renametf()
routine in the new common_source/ctlinfo.[ch] files.  This will not
affect jobs coming via lpr on the local machine.

Reviewed by:	freebsd-print@bostonradio.org & freebsd-audit
MFC after:	16 days
2001-07-15 05:29:38 +00:00
..
ac Constify and set WARNS=2. 2001-06-24 18:41:30 +00:00
accton Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
acpi mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
adduser mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
amd msdos -> msdosfs 2001-06-04 13:08:54 +00:00
ancontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
apm - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
apmd Add battery state monitoring to apmd. 2001-05-15 05:13:45 +00:00
arp mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
atm mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
boot0cfg - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
boot98cfg Constify and set WARNS=2. 2001-06-24 18:51:40 +00:00
bootparamd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
btxld - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
burncd Change to spell erasing right. 2001-05-30 08:13:39 +00:00
cdcontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
chkgrp mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
chown mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
chroot mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
ckdist - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
config Put on my peril-sensitive sunglasses and remove the POLA-violating 2001-07-14 05:02:40 +00:00
cron Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
crunch mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
ctm mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
dev_mkdb Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
devinfo Fixed missing DPADD. 2001-05-12 14:34:46 +00:00
digictl mdoc(7) police: -xwidth has been fold into -width. 2001-07-13 09:09:52 +00:00
diskcheckd * Read 64k at a time with variable length pauses between instead of 2001-07-04 17:43:43 +00:00
diskpart mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
dpt - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42: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: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
extattrctl mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
faithd mdoc(7) police: eliminate warnings, fix markup. 2001-07-10 08:04:09 +00:00
fdcontrol Add appropriate includes and prototypes; staticize; set WARNS=2. Also 2001-06-26 22:11:13 +00:00
fdformat Make fdformat WARN=2 ready. 2001-07-03 21:43:41 +00:00
fdread mdoc(7) police: use plain text parentheses with plain text blocks. 2001-07-05 07:21:28 +00:00
fdwrite mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
getextattr mdoc(7) police: fixed formatting bug in rev. 1.10. 2001-07-05 07:23:24 +00:00
gifconfig Nuke unused variables. 2001-06-24 23:41:57 +00:00
i4b mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
ifmcstat Install it with mode 550, and with default group ${BINGRP}. 2001-07-04 07:20:11 +00:00
inetd mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
iostat mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
ipftest Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
ipresend Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
ipsend Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
iptest Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
IPXrouted mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
jail mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
kbdcontrol Repeat after me: "when reporting `file not found', perform a little bit of 2001-07-13 16:30:11 +00:00
kbdmap mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
kernbb mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
keyadmin - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
keyserv Nuke unused variables. 2001-06-24 23:41:57 +00:00
kgmon mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
kgzip mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
lastlogin Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
lpr Change lpd to perform sanity and safety checks on control files as it 2001-07-15 05:29:38 +00:00
lptcontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
mailstats - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mailwrapper You can't free a string and then use it as the error message to 2001-06-04 04:22:57 +00:00
makemap - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
manctl mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
memcontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
mergemaster mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
mixer Constify and set WARNS=2. 2001-06-25 21:06:15 +00:00
mld6query mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
mlxcontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mount_nwfs mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
mount_portalfs Actually rename FDESC, PORTAL, UMAP and UNION file systems. 2001-05-24 15:20:11 +00:00
mountd mdoc(7) police: cosmetics. 2001-07-04 13:57:34 +00:00
moused mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
mptable - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mrouted Mark some functions as __printflike() 2001-07-05 09:28:13 +00:00
mtest Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
mtree Mark a static function as __printflike() 2001-07-05 07:52:56 +00:00
named - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
named.reload This program uses ndc(8); it doesn't send a signal itself. 2001-06-14 04:28:45 +00:00
named.restart Start the correct copy of named (pass ${named_program} to ndc(8)). 2001-06-14 04:34:40 +00:00
ndc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ndp Sync with recent KAME. 2001-06-11 12:39:29 +00:00
newsyslog Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
nfsd mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
ngctl mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
nghook mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
nologin mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
nslookup - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
nsupdate Link against libbind (library and headers) 1999-11-30 06:16:46 +00:00
ntp mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
pccard mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
pciconf mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
pcvt mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
periodic mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
pkg_install mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
pnpinfo - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ppp Perform MSS fixups on incoming packets as well as outgoing. 2001-07-13 02:04:19 +00:00
pppctl mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
pppd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pppstats - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
praliases - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
prefix Sync with recent KAME. 2001-06-11 12:39:29 +00:00
procctl mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
pstat mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
pw mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
pwd_mkdb - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
quot mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
quotaon mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
rarpd make it compile on alpha again 2001-07-05 16:53:49 +00:00
raycontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
repquota mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
rip6query Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
rmt mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
route6d Sync with recent KAME. 2001-06-11 12:39:29 +00:00
rpc.lockd Distinguish between rpc version numbers in the client cache to avoid 2001-04-28 04:26:32 +00:00
rpc.statd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rpc.umntall mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
rpc.yppasswdd Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
rpc.ypupdated Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
rpc.ypxfrd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rpcbind This is a selection of essentially cosmetic changes: 2001-07-14 17:46:52 +00:00
rrenumd mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
rtadvd mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
rtprio - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rtsold Sync with recent KAME. 2001-06-11 12:39:29 +00:00
rwhod mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
sa - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sade Tweak the Alpha partition warning wording and comment a little. 2001-07-13 16:45:00 +00:00
sendmail - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
setextattr Xref to extattr(2) and extattr(3). 2001-06-24 23:59:22 +00:00
setkey mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
sgsc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sicontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
sliplogin mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
slstat mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
spkrtest mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
spray mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
stallion mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
sysinstall Tweak the Alpha partition warning wording and comment a little. 2001-07-13 16:45:00 +00:00
syslogd mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
tcpdchk - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
tcpdmatch - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
tcpdump Don't try to compile v6-only files if NOINET6. 2001-07-11 21:46:06 +00:00
timed mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
traceroute Fetch the default maximum TTL value from the net.inet.ip.ttl MIB. 2001-06-06 16:12:59 +00:00
traceroute6 Sync with recent KAME. 2001-06-11 12:39:29 +00:00
trpt mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
tzsetup mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
usbd mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
usbdevs Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
vidcontrol Add a comma between the two names in the CONTRIBUTERS section. 2001-06-10 00:23:05 +00:00
vipw mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
vnconfig Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
watch Replace an instance of the "watch" word with the ".Nm" macro: it is used to 2001-05-04 23:27:30 +00:00
wicontrol mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
wlconfig Spelling fix ("independantly" -> "independently") 2001-06-06 19:07:03 +00:00
xten - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
yp_mkdb - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ypbind Whine if we discover an unknown option. This program doesn't use 2001-07-13 14:10:09 +00:00
yppoll Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
yppush Initialize the sa_flags member of an auto struct sigaction variable. 2001-06-06 21:08:15 +00:00
ypserv mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
ypset - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
zic - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
Makefile Add diskcheck-daemon. 2001-06-03 20:02:03 +00:00
Makefile.inc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00