diff --git a/telephony/user/file.te b/telephony/user/file.te deleted file mode 100644 index 05f3c5e2..00000000 --- a/telephony/user/file.te +++ /dev/null @@ -1,5 +0,0 @@ -# Radio -type radio_vendor_data_file, file_type, data_file_type; -userdebug_or_eng(` - typeattribute radio_vendor_data_file mlstrustedobject; -') diff --git a/telephony/user/file_contexts b/telephony/user/file_contexts index 1e0c1a44..1aafb7e3 100644 --- a/telephony/user/file_contexts +++ b/telephony/user/file_contexts @@ -1,5 +1,3 @@ # ECC List /vendor/bin/init\.radio\.sh u:object_r:init_radio_exec:s0 -# Radio files. -/data/vendor/radio(/.*)? u:object_r:radio_vendor_data_file:s0 diff --git a/whitechapel/vendor/google/file.te b/whitechapel/vendor/google/file.te index 0c7a56d8..847499d1 100644 --- a/whitechapel/vendor/google/file.te +++ b/whitechapel/vendor/google/file.te @@ -212,3 +212,9 @@ type sysfs_trusty, sysfs_type, fs_type; # BootControl type sysfs_bootctl, sysfs_type, fs_type; + +# Radio +type radio_vendor_data_file, file_type, data_file_type; +userdebug_or_eng(` + typeattribute radio_vendor_data_file mlstrustedobject; +') diff --git a/whitechapel/vendor/google/file_contexts b/whitechapel/vendor/google/file_contexts index 80344efc..253e7452 100644 --- a/whitechapel/vendor/google/file_contexts +++ b/whitechapel/vendor/google/file_contexts @@ -434,3 +434,5 @@ # Raw HID device /dev/hidraw[0-9]* u:object_r:hidraw_device:s0 +# Radio files. +/data/vendor/radio(/.*)? u:object_r:radio_vendor_data_file:s0