Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2004 22:44:28 +0000 (UTC)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/lpr/lpd printjob.c
Message-ID:  <200412232244.iBNMiT2L089534@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2004-12-23 22:44:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    usr.sbin/lpr/lpd     printjob.c 
  Log:
  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
  1.61.4.1  +2 -1      src/usr.sbin/lpr/lpd/printjob.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412232244.iBNMiT2L089534>