Allow shell to read AVF DT nodes
Hostside test needs to check existence of /proc/device-tree/avf/guest to check whether AVF debug policy is installed. Bug: 345118393 Test: Verified manually on tangorpro-user (cherry picked from https://android-review.googlesource.com/q/commit:168e04da79db850714afd018a6e88da983c89579) Merged-In: I33d6bd1bd7c5513395f162e2bcbbfd15c1b80bcd Change-Id: I33d6bd1bd7c5513395f162e2bcbbfd15c1b80bcd
This commit is contained in:
parent
cd0a00b7c4
commit
ea3e08d53d
1 changed files with 3 additions and 0 deletions
|
@ -436,6 +436,9 @@ userdebug_or_eng(`
|
|||
allowxperm shell vmlauncher_app_devpts:chr_file ioctl unpriv_tty_ioctls;
|
||||
')
|
||||
|
||||
# Allow CTS to check whether AVF debug policy is installed
|
||||
allow shell { proc_dt_avf sysfs_dt_avf }:dir search;
|
||||
|
||||
# Allow access to ion memory allocation device.
|
||||
allow shell ion_device:chr_file rw_file_perms;
|
||||
|
||||
|
|
Loading…
Reference in a new issue