commit | 2fdb4c1fb7656355eaabce16f8006376a888455e | [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 10:20:44 2020 -0700 |
tree | 00e9904d1d7c6e7eb315b127b307b64a309b3a25 | |
parent | 09ee3e44fd8619b0facffc7ecf2c2774301fd6e1 [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. Change-Id: Ia51f078ad848535ce1ac29edd8a56a2b686a12cc