Commit 232590e
committed
Revert "pidfd: prevent creation of pidfds for kthreads"
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>1 parent 524b2c6 commit 232590e
1 file changed
Lines changed: 3 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2053 | 2053 | | |
2054 | 2054 | | |
2055 | 2055 | | |
2056 | | - | |
2057 | | - | |
2058 | | - | |
2059 | | - | |
2060 | | - | |
2061 | | - | |
2062 | | - | |
2063 | | - | |
2064 | | - | |
2065 | | - | |
2066 | | - | |
2067 | | - | |
| 2056 | + | |
2068 | 2057 | | |
2069 | | - | |
2070 | | - | |
2071 | | - | |
2072 | | - | |
| 2058 | + | |
| 2059 | + | |
2073 | 2060 | | |
2074 | 2061 | | |
2075 | 2062 | | |
| |||
2416 | 2403 | | |
2417 | 2404 | | |
2418 | 2405 | | |
2419 | | - | |
2420 | | - | |
2421 | | - | |
2422 | | - | |
2423 | | - | |
2424 | | - | |
2425 | 2406 | | |
2426 | 2407 | | |
2427 | 2408 | | |
| |||
0 commit comments