summaryrefslogtreecommitdiff
path: root/kernel/pid.c
diff options
context:
space:
mode:
authorJoel Fernandes (Google) <joel@joelfernandes.org>2019-04-30 12:21:54 -0400
committerChristian Brauner <christian@brauner.io>2019-06-28 12:17:55 +0200
commit740378dc7834bc511ac1ecb2157696681d2a1d32 (patch)
tree9f1a2838263e8bfbe21efd563d3536a55101ce50 /kernel/pid.c
parentb53b0b9d9a613c418057f6cb921c2f40a6f78c24 (diff)
pidfd: add polling selftests
Other than verifying pidfd based polling, the tests make sure that wait semantics are preserved with the pidfd poll. Notably the 2 cases: 1. If a thread group leader exits while threads still there, then no pidfd poll notifcation should happen. 2. If a non-thread group leader does an execve, then the thread group leader is signaled to exit and is replaced with the execing thread as the new leader, however the parent is not notified in this case. Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> Signed-off-by: Christian Brauner <christian@brauner.io>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions