Date: Thu, 2 Nov 2000 20:12:30 -0800 From: Kris Kennaway <kris@FreeBSD.ORG> To: Mike Heffner <mheffner@vt.edu> Cc: Kris Kennaway <kris@FreeBSD.ORG>, audit@FreeBSD.ORG, Garance A Drosihn <drosih@rpi.edu> Subject: Re: sort(1) tempfile patch Message-ID: <20001102201230.B26595@citusc17.usc.edu> In-Reply-To: <XFMail.20001102220650.mheffner@vt.edu>; from mheffner@vt.edu on Thu, Nov 02, 2000 at 10:06:50PM -0500 References: <20001102182202.A26341@citusc17.usc.edu> <XFMail.20001102220650.mheffner@vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Thu, Nov 02, 2000 at 10:06:50PM -0500, Mike Heffner wrote: > > On 03-Nov-2000 Kris Kennaway wrote: > | On Thu, Nov 02, 2000 at 05:32:19PM -0500, Garance A Drosihn wrote: > | > At 2:59 PM -0500 11/2/00, Mike Heffner wrote: > | > >http://docs.freebsd.org/cgi/getmsg.cgi?fetch=34587+0+archive/2000/freebsd-a > | > >udit/20000130.freebsd-audit > | > > > | > > | > Okay, that looks a lot like the update I was thinking of. Was > | > this update never applied? Or was it lost somewhere along > | > the line? I prefer the strategy of this update. > | > | Why's that? If my patch works, it's a simpler change, and takes up one > | fewer inode on /tmp :-) > | > > Well, looking at the archives, when I had originally submitted a patch similar > to yours, you had agreed with Garance A Drosihn that using a secure directory > was a better solution... Yeah - I didn't realise at the time that it could be done safely in the style of my current patch: since sort(1) only uses the sequential filenames for convenience, and doesn't rely on the naming convention, we can just fix it directly with mkstemp(). Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjoCOy0ACgkQWry0BWjoQKVHQQCg52Nuh+uzAUS7TIoqmUAsyWxo Fw4AoLrF4Al34R4u3/TB2nOqLE7fO1G+ =cxeD -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001102201230.B26595>
