Commit 1f4153d
Revert "pidfd: prevent creation of pidfds for kthreads"
commit 232590e upstream.
This reverts commit 3b5bbe7.
Eric reported that systemd-shutdown gets broken by blocking the creating
of pidfds for kthreads as older versions seems to rely on being able to
create a pidfd for any process in /proc.
Reported-by: Eric Biggers <ebiggers@kernel.org>
Link: https://lore.kernel.org/r/20240818035818.GA1929@sol.localdomain
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent a3211a4 commit 1f4153d
1 file changed
Lines changed: 3 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2069 | 2069 | | |
2070 | 2070 | | |
2071 | 2071 | | |
2072 | | - | |
2073 | | - | |
2074 | | - | |
2075 | | - | |
2076 | | - | |
2077 | | - | |
2078 | | - | |
2079 | | - | |
2080 | | - | |
2081 | | - | |
2082 | | - | |
2083 | | - | |
| 2072 | + | |
2084 | 2073 | | |
2085 | | - | |
2086 | | - | |
2087 | | - | |
2088 | | - | |
| 2074 | + | |
| 2075 | + | |
2089 | 2076 | | |
2090 | 2077 | | |
2091 | 2078 | | |
| |||
2432 | 2419 | | |
2433 | 2420 | | |
2434 | 2421 | | |
2435 | | - | |
2436 | | - | |
2437 | | - | |
2438 | | - | |
2439 | | - | |
2440 | | - | |
2441 | 2422 | | |
2442 | 2423 | | |
2443 | 2424 | | |
| |||
0 commit comments