summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source/ctlinfo.h
Commit message (Collapse)AuthorAgeFilesLines
* Change lpd to perform sanity and safety checks on control files as itgad2001-07-151-0/+71
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
OpenPOWER on IntegriCloud