Subject: Re: Per-user temp storage
To: David Brownlee <david@mono.org>
From: Perry E. Metzger <perry@piermont.com>
List: tech-security
Date: 02/24/1997 10:34:05
David Brownlee writes:
> On Mon, 24 Feb 1997, Frank van der Linden wrote:
> 
> > I don't think modifying a filesystem in this way is a good idea at all;
> > it's something that should not be in the kernel. As soon as you start
> > plugging holes by modifying the kernel, while there is a good userspace
> > solution possible (i.e. mkstemp(3)), then you're on the wrong track.
> > 
> 	It would help if at least source in the tree used mkstemp() rather
> 	than mktemp(), tmpnam(), tempnam(). 
> 
> 	Maybe add a warning for the above functions in a similar fashion
> 	to 'gets()' - I believe OpenBSD did something like that a while
> 	back.

This is certainly useful, but it doesn't solve the "play with symlinks
and deep directories during nightly find" problem.

Perry