Allow AID_SECURITY_LOG_WRITER to write to security log buffer

Allow AID_SECURITY_LOG_WRITER (android.permission.WRITE_SECURITY_LOG)
to write to the security log buffer. For backwards compatibility,
AID_ROOT, AID_SYSTEM and AID_LOG still keep their existing access.

Bug: 232283779
Test: manual - set up Device Owner enable security logging,
      connect a BLE device and pull logs
Change-Id: I56020febe9b2359f469d7adc3f10b723f34ac07a
(cherry picked from commit 24f69a13c3bb27aceac1b9a0ef13c4cd41f618cf)
Merged-In: I56020febe9b2359f469d7adc3f10b723f34ac07a
4 files changed
tree: a7bd55ebee7150358c131c638693f723503e54bf
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/
  5. rust/
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING