summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubin Xu <rubinxu@google.com>2022-05-19 14:53:20 +0100
committerCherrypicker Worker <android-build-cherrypicker-worker@google.com>2022-05-25 20:54:35 +0000
commit2cf162748fef8fa077e582f9f25eef45884ce9b8 (patch)
tree2af746803a25463ea1935b063f511f8f6bb39496
parent2d5d46ca85889743055e748a9545f7009b92bb4a (diff)
downloadcore-2cf162748fef8fa077e582f9f25eef45884ce9b8.tar.gz
Add AID_SECURITY_LOG_WRITER
A suppplementary group to mark which app can write to the security log buffer. Granted via android.permission.WRITE_SECURITY_LOG and checked by logd. Bug: 232283779 Test: manual Change-Id: I3ad66031ab1c9eef26db0f3e8968659dfa2855cb (cherry picked from commit 7e14d138ae598ea8c4c10d6d774552fd0f3099c7) Merged-In: I3ad66031ab1c9eef26db0f3e8968659dfa2855cb
-rw-r--r--libcutils/include/private/android_filesystem_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcutils/include/private/android_filesystem_config.h b/libcutils/include/private/android_filesystem_config.h
index 8bb8652b0..bdb807538 100644
--- a/libcutils/include/private/android_filesystem_config.h
+++ b/libcutils/include/private/android_filesystem_config.h
@@ -137,6 +137,7 @@
#define AID_JC_STRONGBOX 1088 /* Javacard Strongbox HAL - to manage omapi ARA rules */
#define AID_JC_IDENTITYCRED 1089 /* Javacard Identity Cred HAL - to manage omapi ARA rules */
#define AID_SDK_SANDBOX 1090 /* SDK sandbox virtual UID */
+#define AID_SECURITY_LOG_WRITER 1091 /* write to security log */
/* Changes to this file must be made in AOSP, *not* in internal branches. */
#define AID_SHELL 2000 /* adb and debug shell user */