Re: [PATCH bpf] Revert "bpf: program: Refuse non-O_RDWR flags in BPF_OBJ_GET"

From: Daniel Borkmann
Date: Tue Jun 22 2021 - 09:04:05 EST


On 6/22/21 10:59 AM, Lorenz Bauer wrote:
On Mon, 21 Jun 2021 at 22:37, Maciej Żenczykowski
<zenczykowski@xxxxxxxxx> wrote:

Please revert immediately. I've got better things to do. I shouldn't
have to be thinking about this or arguing about this.
It already took me significantly more than a day simply to track this
down (arguably due to miscommunications with Greg, who'd earlier
actually found this in 5.12, but misunderstood the problem, but
still...).

You're barking up the wrong tree. I don't object to reverting the
patch, you asked me for context and I gave it to you.

+1, this kind of barking was unnecessary and inappropriate.

I revamped the commit message a bit to have some more context for future
reference when we need to get back on this.

Anyway, applied.