diff options
author | gad <gad@FreeBSD.org> | 2001-07-15 05:29:38 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2001-07-15 05:29:38 +0000 |
commit | 2d01bec833fc3fe7fe00d29a2126d24260cb5432 (patch) | |
tree | e82cc93ae1ba7d12f62926704cd62c0846a25166 /sbin | |
parent | 46e39d87e36cbe06e62801b9981059f6a76e3c81 (diff) | |
download | FreeBSD-src-2d01bec833fc3fe7fe00d29a2126d24260cb5432.zip FreeBSD-src-2d01bec833fc3fe7fe00d29a2126d24260cb5432.tar.gz |
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
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions