DragonFly BSD
DragonFly kernel List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Douwe Kiela's Patches


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 26 Oct 2004 15:28:19 -0700 (PDT)

:On Mon, Oct 25, 2004 at 10:59:40PM +0200, Douwe Kiela wrote:
:> AFAIK the only changes that NetBSD also has are the change from mktemp to
:> mkstemp, which is a logical one since mktemp is marked LEGACY by the X/Open
:> standard and insecure.
:
:For the archive, mktemp is not insecure per se. It should be avoided, because
:using it safely is difficult (O_CREAT | O_EXCL) and might not be safe for
:non-local filesystems, but it can be actually used safely.
:
:Joerg

   Besides we get those annoying warnings when mktemp() is used :-).  So I 
   agree it should be replaced with mkstemp() as time and desire allow.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]