summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chiu <jasoncschiu@google.com>2023-11-09 21:30:13 +0800
committerJason Chiu <jasoncschiu@google.com>2023-12-05 01:21:53 +0800
commite2d97955585ca6dbed6d6622a240c6879d171864 (patch)
treeaf4b2cfbe31023b0292479e4eec46fe96f9d2905
parent505ad2718a5bd1f2e84e4f31b0149d9a48f301e1 (diff)
downloadgs201-sepolicy-e2d97955585ca6dbed6d6622a240c6879d171864.tar.gz
gs201: move sepolicy related to bootctrl hal to gs-common
Bug: 265063384 Change-Id: I30a71900c2a305b05ae6e17d658df32d95097d14 Signed-off-by: Jason Chiu <jasoncschiu@google.com>
-rw-r--r--whitechapel_pro/device.te2
-rw-r--r--whitechapel_pro/file.te1
-rw-r--r--whitechapel_pro/file_contexts1
-rw-r--r--whitechapel_pro/hal_bootctl_default.te3
4 files changed, 0 insertions, 7 deletions
diff --git a/whitechapel_pro/device.te b/whitechapel_pro/device.te
index 6ba793f..ae74fea 100644
--- a/whitechapel_pro/device.te
+++ b/whitechapel_pro/device.te
@@ -1,5 +1,3 @@
-type sda_block_device, dev_type;
-type devinfo_block_device, dev_type;
type modem_block_device, dev_type;
type custom_ab_block_device, dev_type;
type persist_block_device, dev_type;
diff --git a/whitechapel_pro/file.te b/whitechapel_pro/file.te
index b663013..378c466 100644
--- a/whitechapel_pro/file.te
+++ b/whitechapel_pro/file.te
@@ -27,7 +27,6 @@ type sysfs_em_profile, sysfs_type, fs_type;
# sysfs
type sysfs_chosen, sysfs_type, fs_type;
-type sysfs_ota, sysfs_type, fs_type;
type bootdevice_sysdev, dev_type;
type sysfs_fabric, sysfs_type, fs_type;
type sysfs_acpm_stats, sysfs_type, fs_type;
diff --git a/whitechapel_pro/file_contexts b/whitechapel_pro/file_contexts
index 3f03822..67cfcfb 100644
--- a/whitechapel_pro/file_contexts
+++ b/whitechapel_pro/file_contexts
@@ -22,7 +22,6 @@
/vendor/bin/hw/android\.hardware\.security\.keymint-service\.rust\.trusty u:object_r:hal_keymint_default_exec:s0
/vendor/bin/hw/vendor\.google\.radioext@1\.0-service u:object_r:hal_radioext_default_exec:s0
/vendor/bin/hw/android\.hardware\.contexthub-service\.generic u:object_r:hal_contexthub_default_exec:s0
-/vendor/bin/hw/android\.hardware\.boot@1\.2-service-gs201 u:object_r:hal_bootctl_default_exec:s0
/vendor/bin/hw/android\.hardware\.composer\.hwc3-service\.pixel u:object_r:hal_graphics_composer_default_exec:s0
/vendor/bin/hw/samsung\.hardware\.media\.c2@1\.0-service u:object_r:mediacodec_samsung_exec:s0
/vendor/bin/hw/google\.hardware\.media\.c2@1\.0-service u:object_r:mediacodec_google_exec:s0
diff --git a/whitechapel_pro/hal_bootctl_default.te b/whitechapel_pro/hal_bootctl_default.te
deleted file mode 100644
index 30db79b..0000000
--- a/whitechapel_pro/hal_bootctl_default.te
+++ /dev/null
@@ -1,3 +0,0 @@
-allow hal_bootctl_default sda_block_device:blk_file rw_file_perms;
-allow hal_bootctl_default devinfo_block_device:blk_file rw_file_perms;
-allow hal_bootctl_default sysfs_ota:file rw_file_perms;