microdroid: Add device-mapper capabilities to ueventd.

Bug: 286011429
Test: treehugger
(cherry picked from https://android-review.googlesource.com/q/commit:40427e7f1349491a9947ff4e520df98a826da4de)
Merged-In: I87d7836ea6e875712c0a01b52a22c90745d53a2a

Change-Id: I4aa290483e52ad7429424ba8fbe68390f2100913
This commit is contained in:
David Anderson 2023-05-17 17:26:38 -07:00
parent 158aabc583
commit 2e22a8880c
1 changed files with 3 additions and 1 deletions

View File

@ -146,10 +146,12 @@ service apexd-vm /system/bin/apexd --vm
capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER SYS_ADMIN
service ueventd /system/bin/ueventd
user root
group root
class core
critical
seclabel u:r:ueventd:s0
capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER FSETID MKNOD NET_ADMIN SETGID SETUID SYS_MODULE SYS_RAWIO
capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER FSETID MKNOD NET_ADMIN SETGID SETUID SYS_MODULE SYS_RAWIO SYS_ADMIN
service console /system/bin/sh
class core