From 344c4c071ca3e8faef7ecd5b057fe89fcfec3e23 Mon Sep 17 00:00:00 2001 From: Tim Van Patten Date: Thu, 15 Aug 2024 16:19:05 -0600 Subject: [PATCH] Add AID for CrOS EC Add AID for CrOS EC. The AID will be used to update the file access permissions for /dev/cros_ec. This file is accessed by various tools/daemons/services that interact with the Embedded Controller via the linux kernel ChromeOS Embedded Controller (cros_ec) driver. Bug: 349695348 Test: $ adb shell id -u cros_ec Test: $ adb shell id -g cros_ec Change-Id: I6baca9d2b63c45823ed5529bf27b904bf67edf8b --- 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 ea61cc2a7..eeb039417 100644 --- a/libcutils/include/private/android_filesystem_config.h +++ b/libcutils/include/private/android_filesystem_config.h @@ -142,6 +142,7 @@ #define AID_SECURITY_LOG_WRITER 1091 /* write to security log */ #define AID_PRNG_SEEDER 1092 /* PRNG seeder daemon */ #define AID_UPROBESTATS 1093 /* uid for uprobestats */ +#define AID_CROS_EC 1094 /* uid for accessing ChromeOS EC (cros_ec) */ /* Changes to this file must be made in AOSP, *not* in internal branches. */ #define AID_SHELL 2000 /* adb and debug shell user */