summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source/ctlinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* Add minimal support for "o"-type print-file actions in lpd control files.gad2001-09-201-12/+18
| | | | | | | | | This was described in the original RFC wrt lpr, but most lpr's do not actually implement it. There is some indication that MacOS 10.1 will be using this when sending postscript files to print servers (that is what "o"-type was supposed to signify -- postscript files). MFC after: 1 week
* Change lpd to perform sanity and safety checks on control files as itgad2001-07-151-0/+851
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