diff options
author | Suren Baghdasaryan <surenb@google.com> | 2019-06-26 17:56:01 -0700 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2019-10-08 18:15:12 -0700 |
commit | f2081a96be37bde84f27f00585d664d3db675da2 (patch) | |
tree | 64988265948ff2768c6fda10ea1a2fb6201909ec /init/sigchld_handler.cpp | |
parent | 5d7969b58a8e1d34af28f32829164f3571fb9378 (diff) |
lmkd: Add support for process death notifications
With pidfd polling support lmkd can detect process death without periodic
polling. Implement mechanism to detect kernel pidfd support using
pidfd_open syscall existence as an indicator. Implement the logic to use
pidfd to wait for process death.
Bug: 135608568
Test: lmkd_unit_test with and without pidfd kernel support
Change-Id: Ic6db7e50893534467f5130a7f998b66fb4451272
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'init/sigchld_handler.cpp')
0 files changed, 0 insertions, 0 deletions