From owner-cvs-all Sat Aug 21 10:58: 7 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DBFFB14BDB; Sat, 21 Aug 1999 10:58:04 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA35091; Sat, 21 Aug 1999 10:56:45 -0700 (PDT) (envelope-from imp@FreeBSD.org) Message-Id: <199908211756.KAA35091@freefall.freebsd.org> From: Warner Losh Date: Sat, 21 Aug 1999 10:56:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio tempnam.c tmpnam.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk imp 1999/08/21 10:56:45 PDT Modified files: lib/libc/stdio tempnam.c tmpnam.c Log: Add warnings, ala mktemp, to tempnam and tmpnam as a reminder that these are inherently unsafe interfaces. Do not allow TMPDIR to override path for setuid/setgid programs. Revision Changes Path 1.6 +8 -3 src/lib/libc/stdio/tempnam.c 1.2 +5 -0 src/lib/libc/stdio/tmpnam.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message