commit | ea5ec69b7975aa2419f48e8b974a482e12712ba8 | [log] [tgz] |
---|---|---|
author | Ravi Jain <raviajain@google.com> | Mon Apr 15 03:49:41 2024 +0000 |
committer | Ravi Jain <raviajain@google.com> | Mon Apr 15 03:49:41 2024 +0000 |
tree | 32ddd7a7489df464a3af250d4ccf3459002c2616 | |
parent | 46f7fe3e61b81a179dcb6d65f0f5b53c5c46d1e0 [diff] |
touch: moving ical related sepolicies to independent folder Bug: 331139251 Test: Manually verify the result. Change-Id: I53b5c8eb73f1ce775ec83a06b43c0b4993f31e69
diff --git a/touch/gti/gti.mk b/touch/gti/gti.mk index a2c7cf7..2aab821 100644 --- a/touch/gti/gti.mk +++ b/touch/gti/gti.mk
@@ -1,4 +1,5 @@ BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/touch/gti/sepolicy +BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/touch/gti/ical/sepolicy PRODUCT_PACKAGES += dump_gti0.sh PRODUCT_PACKAGES += touch_gti_ical
diff --git a/touch/gti/gti_dual.mk b/touch/gti/gti_dual.mk index f56645d..d6b7602 100644 --- a/touch/gti/gti_dual.mk +++ b/touch/gti/gti_dual.mk
@@ -1,5 +1,6 @@ include device/google/gs-common/touch/gti/gti.mk BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/touch/gti/sepolicy_gti_dual +BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/touch/gti/ical/sepolicy_gti_dual PRODUCT_PACKAGES += dump_gti1.sh
diff --git a/touch/gti/ical/sepolicy/file_contexts b/touch/gti/ical/sepolicy/file_contexts new file mode 100644 index 0000000..9bd59c3 --- /dev/null +++ b/touch/gti/ical/sepolicy/file_contexts
@@ -0,0 +1 @@ +/vendor/bin/touch_gti_ical u:object_r:gti_ical_exec:s0
diff --git a/touch/gti/sepolicy/gti_ical.te b/touch/gti/ical/sepolicy/gti_ical.te similarity index 100% rename from touch/gti/sepolicy/gti_ical.te rename to touch/gti/ical/sepolicy/gti_ical.te
diff --git a/touch/gti/sepolicy/property.te b/touch/gti/ical/sepolicy/property.te similarity index 100% rename from touch/gti/sepolicy/property.te rename to touch/gti/ical/sepolicy/property.te
diff --git a/touch/gti/sepolicy/property_contexts b/touch/gti/ical/sepolicy/property_contexts similarity index 100% rename from touch/gti/sepolicy/property_contexts rename to touch/gti/ical/sepolicy/property_contexts
diff --git a/touch/gti/sepolicy/vendor_init.te b/touch/gti/ical/sepolicy/vendor_init.te similarity index 100% rename from touch/gti/sepolicy/vendor_init.te rename to touch/gti/ical/sepolicy/vendor_init.te
diff --git a/touch/gti/sepolicy_gti_dual/property_contexts b/touch/gti/ical/sepolicy_gti_dual/property_contexts similarity index 100% rename from touch/gti/sepolicy_gti_dual/property_contexts rename to touch/gti/ical/sepolicy_gti_dual/property_contexts
diff --git a/touch/gti/sepolicy/file_contexts b/touch/gti/sepolicy/file_contexts index 37e3733..2fce7f5 100644 --- a/touch/gti/sepolicy/file_contexts +++ b/touch/gti/sepolicy/file_contexts
@@ -1,2 +1 @@ /vendor/bin/dump/dump_gti0\.sh u:object_r:dump_gti_exec:s0 -/vendor/bin/touch_gti_ical u:object_r:gti_ical_exec:s0