Skip to content

Commit 6008841

Browse files
braunerkeszybz
authored andcommitted
Add pidfd_open() thread-group leader extension
Signed-off-by: Christian Brauner <[email protected]>
1 parent ed56543 commit 6008841

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,17 @@ point that out explicitly and clearly in the associated patches and Cc
680680
could carry `user.dbus` set to `1`, and Varlink sockets
681681
`user.varlink` set to `1` and so on.
682682

683+
* Extend `pidfd_open()` to allow opening the thread-group leader based on the
684+
PID of an individual thread. Currently we do support:
685+
686+
(1) `pidfd_open(1234, 0)` on a thread-group leader PID
687+
(2] `pidfd_open(1234, PIDFD_THREAD)` on a thread
688+
689+
Add an option to go from individual thread to thread-group leader.
690+
691+
**Use-Case:** Allow for a race free way to go from individual thread to
692+
thread-group leader pidfd.
693+
683694
## Finished Items
684695

685696
* [x] ability to unmount obstructed mounts. (this means: you have a stack

0 commit comments

Comments
 (0)