Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 344c4c07 authored by Tim Van Patten's avatar Tim Van Patten
Browse files

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
parent b2bd7ae8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */