commit | f2081a96be37bde84f27f00585d664d3db675da2 | [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 | 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>