Subject: Re: PR/32805 CVS commit: xsrc/xfree/xc/programs/xdm/config
To: None <xsrc-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 02/13/2006 17:50:02
The following reply was made to PR xsrc/32805; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: christos@netbsd.org
Subject: Re: PR/32805 CVS commit: xsrc/xfree/xc/programs/xdm/config
Date: Mon, 13 Feb 2006 09:48:19 -0800 (PST)

 On Sun, 12 Feb 2006, Christos Zoulas wrote:
 
 >  PR/32805: Steven M. Bellovin: There's a /tmp file creation race condition in
 >  Xsession; use mktemp as suggested in the PR.
 
 I am curious: why use the ".XXXXXX" template and then mv into place? (Why 
 not just mktemp "$errfile"?)
 
  Jeremy C. Reed
 
  	  	 	 technical support & remote administration
 	  	 	 http://www.pugetsoundtechnology.com/