cvs commit: src/usr.sbin/lpr/lpd printjob.c

Garance A Drosehn gad at
Thu Dec 23 14:44:29 PST 2004

gad         2004-12-23 22:44:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    usr.sbin/lpr/lpd     printjob.c 
  MFC 1.63:  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
  Revision  Changes    Path  +2 -1      src/usr.sbin/lpr/lpd/printjob.c

More information about the cvs-src mailing list