commit | 9852d6f0631c6493a3cfe70b9be146decff6e280 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Mon Jun 22 10:15:04 2020 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Mon Jun 22 14:57:43 2020 -0700 |
tree | ad1970949ea8e088814c582e055838398f1a5334 | |
parent | 9fd702ea401fba886ab127dfa14ba76498f8373d [diff] |
logd: make drop_privs work if neither klogd or auditd are used Fix a bug that was causing cap_set_flag() fail and logd to exit. Bug: 159588327 Test: caps are set correctly and logd functions with both, one of, or none of klogd and auditd enabled. Merged-In: Ia51f078ad848535ce1ac29edd8a56a2b686a12cc Change-Id: Ia51f078ad848535ce1ac29edd8a56a2b686a12cc (cherry picked from commit 54b00a9e3cb61e090c5ff9403eedd6add55b48b1)