Skip site navigation (1)Skip section navigation (2)
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

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001102201230.B26595>