Date: Thu, 14 May 2020 18:47:14 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Kyle Evans <kevans@freebsd.org> Cc: "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: [HEADSUP] Disallowing read() of a directory fd Message-ID: <32675.1589482034@critter.freebsd.dk> In-Reply-To: <CACNAnaFszg%2BQWPRS0kghsnQMxXc%2B5niPTTNiUPSmK60YyBGCzA@mail.gmail.com> References: <CACNAnaFszg%2BQWPRS0kghsnQMxXc%2B5niPTTNiUPSmK60YyBGCzA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-------- In message <CACNAnaFszg+QWPRS0kghsnQMxXc+5niPTTNiUPSmK60YyBGCzA@mail.gmail= .com> >This is a heads up, given that I'm completely flipping our historical >behavior- I intend to commit this review in a couple days' time >without substantial objection: https://reviews.freebsd.org/D24596 When we did UFS2, I tried to persuade Kirk and Robert that since directories had the 'x' bit set anyway, they start with a magic sequence of: 0x23 0x21 0x2f 0x62 0x69 0x6e 0x2f 0x6c 0x73 0x20 0x2d 0x6c 0x0a = As you can probably guess, they nixed my idea, and now you're making it impossible for ever :-( -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32675.1589482034>