Explicit init .rc user.

Set the user explicitly.

Bug: 276813155
Test: boot
Change-Id: I2401794c5555e0043a2458eac6dd254bab7b3ca6
This commit is contained in:
Steven Moreland 2023-04-10 20:45:19 +00:00
parent 30d0e48439
commit f0a3354f38
2 changed files with 2 additions and 0 deletions

View File

@ -3,3 +3,4 @@ service authfs_service /system/bin/authfs_service
socket authfs_service stream 0666 root system socket authfs_service stream 0666 root system
# SYS_ADMIN capability allows to mount FUSE filesystem # SYS_ADMIN capability allows to mount FUSE filesystem
capabilities SYS_ADMIN capabilities SYS_ADMIN
user root

View File

@ -11,4 +11,5 @@ service microdroid_manager /system/bin/microdroid_manager
# CAP_SETCAP is required to allow microdroid_manager to drop capabilities # CAP_SETCAP is required to allow microdroid_manager to drop capabilities
# before executing the payload # before executing the payload
capabilities AUDIT_CONTROL SYS_ADMIN SYS_BOOT SETPCAP capabilities AUDIT_CONTROL SYS_ADMIN SYS_BOOT SETPCAP
user root
socket vm_payload_service stream 0666 system system socket vm_payload_service stream 0666 system system