Date: Thu, 10 Sep 1998 22:29:48 -0700 (PDT) From: Warner Losh <imp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libc/db/btree bt_open.c Message-ID: <199809110529.WAA07207@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 1998/09/10 22:29:47 PDT Modified files: lib/libc/db/btree bt_open.c Log: Don't trust TMPDIR if we're setuid root. This is used only for the backing file for an anonymous (memory based) btree, and I don't think that any setuid programs actually use it, but it is better to be safe than sorry. This has been in my tree for a long time, maybe a year or more... Inspired by: Similar changes in OpenBSD, if memory serves (like nearly a year ago) Revision Changes Path 1.5 +3 -2 src/lib/libc/db/btree/bt_open.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809110529.WAA07207>