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:
@@ -18,3 +18,4 @@ type sysfs_usb_supply, sysfs_type, fs_type;
|
|||||||
|
|
||||||
# data
|
# data
|
||||||
type display_misc_file, file_type, data_file_type, core_data_file_type;
|
type display_misc_file, file_type, data_file_type, core_data_file_type;
|
||||||
|
type vendor_qmipriod_data_file, file_type, data_file_type;
|
||||||
6
sepolicy/private/vendor_qmipriod.te
Normal file
6
sepolicy/private/vendor_qmipriod.te
Normal 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;
|
||||||
|
')
|
||||||
Reference in New Issue
Block a user