Skip to content

Commit fca9a63

Browse files
committed
wishlist: add one more consideration to CLONE_PDIFD_AUTOKILL for PID 1
Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent defa358 commit fca9a63

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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 currently the kernel simply refuses to deliver `SIGKILL`
256+
to PID 1 (global init). It will simply drop the signal so that will have
257+
to be dealt with as well and the behavior after `SIGKILL` would have to
258+
make sense beyond just 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)