freebsd-dev/usr.sbin/lpr/lpd
gad 649d5b1249 Call umask() before opening the lock-file for a queue, to make sure
the file will be created with the right access, if the call to open()
does create it.  Also fix the other call to umask() to turn off
"write others", just as a matter of general safety.

PR:		74418
MFC after:	4 days
2004-12-19 05:14:29 +00:00
..
extern.h More changes to use __FBSDID() for setting rcsids, and fix the 2003-07-14 15:54:41 +00:00
lpd.8 Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
lpd.c Use STDIN_FILENO, STDOUT_FILENO, and STDERR_FILENO in a few more 2003-08-13 20:31:33 +00:00
lpdchar.c Get the 'sccsid' lines even closer to correct style(9) form. The 2003-07-14 19:59:33 +00:00
Makefile Stop adding ${CWARNFLAGS} to CFLAGS. The standard makefile processing will 2002-06-23 20:57:18 +00:00
modes.c Get the 'sccsid' lines even closer to correct style(9) form. The 2003-07-14 19:59:33 +00:00
printjob.c Call umask() before opening the lock-file for a queue, to make sure 2004-12-19 05:14:29 +00:00
recvjob.c Minimal update to make it easier to increase the buffer-size lpd uses 2003-08-21 03:43:48 +00:00