Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 21:20:02 -0700
From:      Warner Losh <imp@village.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        peter@spinner.dialix.com, phk@critter.dk.tfs.com, ache@nagual.ru, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, fenner@parc.xerox.com
Subject:   Re: cvs commit: src/lib/libtermcap pathnames.h termcap.c 
Message-ID:  <E0wA6fS-0006QQ-00@rover.village.org>
In-Reply-To: Your message of "Thu, 27 Mar 1997 14:50:32 %2B1100." <199703270350.OAA06953@godzilla.zeta.org.au> 
References:  <199703270350.OAA06953@godzilla.zeta.org.au>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199703270350.OAA06953@godzilla.zeta.org.au> Bruce Evans writes:
: You could also add warnings:
: 
: 	warning: this program uses access(), which is unsafe.
: 
: access() would be unsafer than now, since the effective fs uuid would be
: more variable.
: 
: And while we're here:
: 
: 	warning: this program uses tmpfile(), which is unsafe.
: 	warning: this program uses tmpnam(), which is unsafe.
: 	warning: this program uses tempnam(), which is unsafe.
: 	warning: this program uses mktemp(), which is unsafe.

Funny you should mention that.  I have that on my list.

: 	warning: this program uses mkstemp(), which is yet another wrong
: 	         interface (it should allow setting the open mode).

Can you explain this to me?

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0wA6fS-0006QQ-00>