From owner-freebsd-audit Tue Oct 24 12:16:19 2000 Delivered-To: freebsd-audit@freebsd.org Received: from mail.utfors.se (mail.utfors.se [195.58.103.125]) by hub.freebsd.org (Postfix) with ESMTP id 1193737B666 for ; Tue, 24 Oct 2000 12:16:17 -0700 (PDT) Received: from ludd.luth.se (md469298f.utfors.se [212.105.41.143]) by mail.utfors.se (8.8.8/8.8.8) with ESMTP id VAA14804 for ; Tue, 24 Oct 2000 21:16:08 +0200 (MET DST) Message-ID: <39F5DFF7.8ABBAA99@ludd.luth.se> Date: Tue, 24 Oct 2000 21:16:07 +0200 From: Joachim =?iso-8859-1?Q?Str=F6mbergson?= Organization: Acne X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: en-US MIME-Version: 1.0 To: FreeBSD-Audit Subject: Which mktemp()s are bad? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I saw Joeroens posting on the mktemp() issue in printjob.c. During buildworlds I have seen warnings about mktemp() being used if not frequently, at least on quite a few places. This got me thinking - Generally, are all mktemp() calls bad? Which are the one that *really* should be eliminated? Can they all be emliminated? I did some grepping on the Stable tree as of 2000-10-24 and found a few places where mktemp was used, though mostly in contributed stuff, like GNU binutils. (Side note: Should those be fixed for FreeBSD or feedbacked to the respective team at FSF?) -- Cheers! Joachim - Alltid i harmonisk svängning --- FairLight ------ FairLight ------ FairLight ------ FairLight --- Joachim Strömbergson ASIC SoC designer, nice to CUTE animals Phone: +46(0)31 - 27 98 47 Web: http://www.ludd.luth.se/~watchman --------------- Spamfodder: regeringen@regeringen.se --------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message