Allow ueventd to read apex mount directories.
ueventd now scans /apex/*/firmware/ directories to find firmwares. Bug: 167942098 Test: loading firmware from vibrator apex (sunfish) Change-Id: I76e32e3c290fa07307377bc6fbea41c1783e40a6
This commit is contained in:
parent
7be9e9e372
commit
68c1986c21
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ r_dir_file(ueventd, selinuxfs)
|
|||
# Access for /vendor/ueventd.rc and /vendor/firmware
|
||||
r_dir_file(ueventd, { vendor_file_type -vendor_app_file -vendor_overlay_file })
|
||||
|
||||
# Access for /apex/*/firmware
|
||||
allow ueventd apex_mnt_dir:dir r_dir_perms;
|
||||
|
||||
# Get file contexts for new device nodes
|
||||
allow ueventd file_contexts_file:file r_file_perms;
|
||||
|
||||
|
|
Loading…
Reference in a new issue