commit | 2055ebfe01eff48ec8ef1eb0d5ae233a0c036e42 | [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 | 5b7542926a03d5355b0f007a7478d16813adb33b | |
parent | 921451fbb468c1d5076f908033044779941e5aa8 [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)