Merge "Add AID for PRNG seeder daemon." am: 751cdc9489 am: 1c801c2168 am: 560adf7a16

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2229337

Change-Id: I40f2a5afcd13192de59180efb6e3c97652749c06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Pete Bentley 2022-09-26 22:07:43 +00:00 committed by Automerger Merge Worker
commit 26d2e158e9
2 changed files with 3 additions and 0 deletions

View file

@ -140,6 +140,7 @@
#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 */
#define AID_PRNG_SEEDER 1092 /* PRNG seeder daemon */
/* Changes to this file must be made in AOSP, *not* in internal branches. */
#define AID_SHELL 2000 /* adb and debug shell user */

View file

@ -37,6 +37,8 @@ subsystem dma_heap
/dev/tty 0666 root root
/dev/random 0666 root root
/dev/urandom 0666 root root
# Aside from kernel threads, only prng_seeder needs access to HW RNG
/dev/hw_random 0400 prng_seeder prng_seeder
/dev/ashmem* 0666 root root
/dev/binder 0666 root root
/dev/hwbinder 0666 root root