Skip to content

Commit a384385

Browse files
committed
wishlist: add one more consideration to CLONE_PDIFD_AUTOKILL for PID 1
Signed-off-by: Christian Brauner <[email protected]>
1 parent defa358 commit a384385

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 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)