Skip to content

Commit 43cfcb5

Browse files
braunerkeszybz
authored andcommitted
wishlist: add one more consideration to CLONE_PDIFD_AUTOKILL for PID 1
Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 8692291 commit 43cfcb5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,11 @@ it with a pidfd right away. There are two possible approaches:
252252
Permission checking would have to be strict. It should probably only be
253253
allowed for the current thread-group leader on itself.
254254

255+
Note also that the kernel currently simply refuses to deliver `SIGKILL`
256+
to PID 1 (global init). It will simply drop the signal. This will have
257+
to be changed. Any implementation would also have to ensure that the
258+
behavior post `SIGKILL` does not just involve freezing execution.
259+
255260
### inotify() events for BSD file locks
256261

257262
BSD file locks (i.e. `flock()`, as opposed to POSIX `F_SETLK` and

0 commit comments

Comments
 (0)