diff options
author | Eric W. Biederman <[email protected]> | 2020-06-25 17:23:22 -0500 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2020-07-07 11:58:57 -0500 |
commit | e80eb1dc868bc1ed93602389d54b27f170ca770c (patch) | |
tree | 79fa3fd78b5dcdde8b08eb4d7f0d4c7b14a46ad9 /lib/memory-notifier-error-inject.c | |
parent | 38fd525a4c61e7ecdc9ad4dcbf7b767d0a007962 (diff) |
bpfilter: Take advantage of the facilities of struct pid
Instead of relying on the exit_umh cleanup callback use the fact a
struct pid can be tested to see if a process still exists, and that
struct pid has a wait queue that notifies when the process dies.
v1: https://lkml.kernel.org/r/[email protected]
v2: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Tested-by: Alexei Starovoitov <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions