Re: Douwe Kiela's Patches

看板DFBSD_kernel作者時間21年前 (2004/10/27 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/5 (看更多)
: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@backplane.com>
文章代碼(AID): #11Vj1a00 (DFBSD_kernel)
文章代碼(AID): #11Vj1a00 (DFBSD_kernel)