Douwe Kiela's Patches

Joerg Sonnenberger joerg at
Tue Oct 26 03:39:01 PDT 2004

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.


More information about the Kernel mailing list