sm8250-common: sepolicy: Address vendor_qmipriod denials

* Since OnePlus is not releasing userdebug builds these rules
  are not present in the vendor image.

Change-Id: Ib74bf928796cb75e3b17f0eaf872fa2126107c1d
This commit is contained in:
LuK1337 2020-11-27 12:34:41 +01:00
parent 5f2520dda6
commit 1e2926ee70
2 changed files with 7 additions and 0 deletions

View file

@ -18,3 +18,4 @@ type sysfs_usb_supply, sysfs_type, fs_type;
# data
type display_misc_file, file_type, data_file_type, core_data_file_type;
type vendor_qmipriod_data_file, file_type, data_file_type;

View file

@ -0,0 +1,6 @@
type vendor_qmipriod, domain;
userdebug_or_eng(`
allow vendor_qmipriod vendor_qmipriod_data_file:dir rw_dir_perms;
allow vendor_qmipriod vendor_qmipriod_data_file:file create_file_perms;
')