From owner-freebsd-audit Thu Nov 2 20:10:59 2000 Delivered-To: freebsd-audit@freebsd.org Received: from citusc17.usc.edu (citusc17.usc.edu [128.125.38.177]) by hub.freebsd.org (Postfix) with ESMTP id 7B7DA37B4C5; Thu, 2 Nov 2000 20:10:45 -0800 (PST) Received: (from kris@localhost) by citusc17.usc.edu (8.11.1/8.11.1) id eA34CUY26621; Thu, 2 Nov 2000 20:12:30 -0800 (PST) (envelope-from kris) Date: Thu, 2 Nov 2000 20:12:30 -0800 From: Kris Kennaway To: Mike Heffner Cc: Kris Kennaway , audit@FreeBSD.ORG, Garance A Drosihn Subject: Re: sort(1) tempfile patch Message-ID: <20001102201230.B26595@citusc17.usc.edu> References: <20001102182202.A26341@citusc17.usc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="kORqDWCi7qDJ0mEj" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mheffner@vt.edu on Thu, Nov 02, 2000 at 10:06:50PM -0500 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 02, 2000 at 10:06:50PM -0500, Mike Heffner wrote: >=20 > 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=3D34587+0+archive/2000/= freebsd-a > | > >udit/20000130.freebsd-audit > | > > > | >=20 > | > 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. > | =20 > | Why's that? If my patch works, it's a simpler change, and takes up one > | fewer inode on /tmp :-) > | =20 >=20 > Well, looking at the archives, when I had originally submitted a patch si= milar > to yours, you had agreed with Garance A Drosihn that using a secure direc= tory > 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 --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature Content-Disposition: inline -----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----- --kORqDWCi7qDJ0mEj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message