commit | 51bb1817501ea01be3552b852f954f9156cc418a | [log] [tgz] |
---|---|---|
author | Suren Baghdasaryan <surenb@google.com> | Wed Jun 26 17:56:01 2019 -0700 |
committer | Suren Baghdasaryan <surenb@google.com> | Tue Oct 08 18:15:12 2019 -0700 |
tree | 64988265948ff2768c6fda10ea1a2fb6201909ec | |
parent | 504c1004c28b9bee6d7e8923e59dd081432a641e [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>