commit | 2e8c4dba47e3b2f5b7244eeabd080165e911f2ff | [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 | c38d675c49fc724f4ee0520df5d956560e5546bb [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