[431] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Race conditions

daemon@ATHENA.MIT.EDU (Jason Matthews)
Thu Dec 8 07:13:56 1994

Date: Thu, 8 Dec 1994 02:41:29 -0800 (PST)
From: Jason Matthews <jason@dickory.sdsu.edu>
To: Michael Bresnahan <gudu@winternet.com>
Cc: bugtraq@fc.net
In-Reply-To: <m0rFPgI-000Sx1C@icicle.winternet.com>

On Wed, 7 Dec 1994, Michael Bresnahan wrote:

> How does one code a suid program so that it evades these problems with
> symlink race conditions?  Is there a way to atomically check if a file
> is a symlink and open it, or is there another stratedgy?


Simply do not use any temporary files...

Jason

----------------------------------------------------------------------------
jason@dickory.sdsu.edu			  San Diego State University
jason@mentor.sdsu.edu   		    College of Engineering
jason@BOOM.extern.ucsd.edu               Electrical*Computer Engineering 
----------------------------------------------------------------------------
	  The following email address are no longer valid
	              odn@LoD.amaranth.com
---------------------------------------------------------------------------- 




home help back first fref pref prev next nref lref last post