From 7e14d138ae598ea8c4c10d6d774552fd0f3099c7 Mon Sep 17 00:00:00 2001 From: Rubin Xu Date: Thu, 19 May 2022 14:53:20 +0100 Subject: [PATCH] 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 --- libcutils/include/private/android_filesystem_config.h | 1 + 1 file changed, 1 insertion(+) 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 */