From 3a2792b06d1918f9822f346a9961bef377f972a0 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Tue, 5 Mar 2024 21:54:53 -0500 Subject: [PATCH] exynos9610: Rename chargeonly_data_file to chargeonly_vendor_data_file * For some magical reason, the naming (and not just associations) matter as of a few days ago - no clue why. Change-Id: I6cf12b455dbf460a9be607d796af3536093e8427 --- sepolicy/vendor/charge_only.te | 4 ++-- sepolicy/vendor/file.te | 2 +- sepolicy/vendor/file_contexts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sepolicy/vendor/charge_only.te b/sepolicy/vendor/charge_only.te index 569747a..84cd17a 100644 --- a/sepolicy/vendor/charge_only.te +++ b/sepolicy/vendor/charge_only.te @@ -2,8 +2,8 @@ type charge_only, domain; type charge_only_exec, exec_type, vendor_file_type, file_type; init_daemon_domain(charge_only) -allow charge_only chargeonly_data_file:dir rw_dir_perms; -allow charge_only chargeonly_data_file:file create_file_perms; +allow charge_only chargeonly_vendor_data_file:dir rw_dir_perms; +allow charge_only chargeonly_vendor_data_file:file create_file_perms; allow charge_only { graphics_device diff --git a/sepolicy/vendor/file.te b/sepolicy/vendor/file.te index 5d72c8a..33ec7d1 100644 --- a/sepolicy/vendor/file.te +++ b/sepolicy/vendor/file.te @@ -1,6 +1,6 @@ # data types type camera_vendor_data_file, file_type, data_file_type; -type chargeonly_data_file, file_type, data_file_type; +type chargeonly_vendor_data_file, file_type, data_file_type; type mediadrm_vendor_data_file, file_type, data_file_type; type misc_vendor_data_file, file_type, data_file_type; type rild_vendor_data_file, file_type, data_file_type; diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index dee77b2..d3c4bcb 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -18,7 +18,7 @@ /data/vendor/sensor(/.*)? u:object_r:sensor_vendor_data_file:s0 /data/vendor/rild(/.*)? u:object_r:rild_vendor_data_file:s0 /data/nfc(/.*)? u:object_r:nfc_data_file:s0 -/data/chargeonlymode(/.*)? u:object_r:chargeonly_data_file:s0 +/data/vendor/chargeonlymode(/.*)? u:object_r:chargeonly_vendor_data_file:s0 ########################## # Devices -- 2.20.1