commit | 54b00a9e3cb61e090c5ff9403eedd6add55b48b1 | [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 | 82cf3d7867a0845db00cedba9876aa393a779e00 | |
parent | a2f97dbb0fbfb1e407893ba29ef44f33faabe23c [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