Re: [GIT PULL] Please pull proc and exec work for 5.7-rc1
From: Linus Torvalds
Date: Wed Apr 29 2020 - 22:16:28 EST
On Wed, Apr 29, 2020 at 5:00 PM Jann Horn <jannh@xxxxxxxxxx> wrote:
>
> Wouldn't you end up livelocked in the scenario that currently deadlocks?
The test case that we already know is broken, and any fix will have to
change anyway?
Let's just say that I don't care in the least.
But Bernd's patch as-is breaks a test-case that currently *works*,
namely something as simple as
echo xyz > /proc/<pid>/attr/something
and honestly, breaking something that _works_ and may be used in
reality, in orderf to make a known buggy user testcase work?
Because no, "write()" returning -EAGAIN isn't ok.
Linus