universal7904: sepolicy: Remove duplicate definitions from here
* Moved to device/samsung_slsi/sepolicy
Change-Id: If51bb3106ece1c62f9735a759598a2bc9e651ef0
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
diff --git a/sepolicy/vendor/file.te b/sepolicy/vendor/file.te
index cb775cf..e2e94f6 100644
--- a/sepolicy/vendor/file.te
+++ b/sepolicy/vendor/file.te
@@ -20,7 +20,6 @@
type proc_swapiness, fs_type, proc_type;
# data types
-type display_vendor_data_file, file_type, data_file_type;
type fingerprintd_vendor_data_file, data_file_type, file_type;
type mediadrm_data_file, file_type, data_file_type;
type nfc_vendor_data_file, file_type, data_file_type;
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index f20c93d..c0de61f 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -24,19 +24,6 @@
# blocks
/dev/block/zram0 u:object_r:swap_block_device:s0
-/dev/block/platform/.+/by-name/(omr|OMR)? u:object_r:omr_block_device:s0
-/dev/block/platform/.+/by-name/(misc|MISC)? u:object_r:misc_block_device:s0
-/dev/block/platform/.+/by-name/(cpefs|CPEFS)? u:object_r:efs_block_device:s0
-/dev/block/platform/.+/by-name/(efs|EFS)? u:object_r:efs_block_device:s0
-/dev/block/platform/.+/by-name/(radio|RADIO)? u:object_r:radio_block_device:s0
-/dev/block/platform/.+/by-name/(cache|CACHE)? u:object_r:cache_block_device:s0
-/dev/block/platform/.+/by-name/(system|SYSTEM)? u:object_r:system_block_device:s0
-/dev/block/platform/.+/by-name/(userdata|USERDATA)? u:object_r:userdata_block_device:s0
-/dev/block/platform/.+/by-name/(keyrefuge|KEYREFUGE)? u:object_r:keyrefuge_block_device:s0
-/dev/block/platform/.+/by-name/(persistent|PERSISTENT)? u:object_r:frp_block_device:s0
-/dev/block/platform/.+/by-name/(boot|BOOT)? u:object_r:boot_block_device:s0
-/dev/block/platform/.+/by-name/(recovery|RECOVERY)? u:object_r:recovery_block_device:s0
-
####################################
# efs
/mnt/vendor/cpefs(/.*)? u:object_r:efs_file:s0
@@ -54,18 +41,7 @@
####################################
### VENDOR
-/(vendor|system/vendor)/lib(64)?/hw/gralloc\.[a-z0-9]*\.so u:object_r:same_process_hal_file:s0
-/(vendor|system/vendor)/lib(64)?/libion_exynos\.so u:object_r:same_process_hal_file:s0
-
/(vendor|system/vendor)/bin/main_abox u:object_r:abox_exec:s0
/(vendor|system/vendor)/bin/wlbtd u:object_r:wlbtd_exec:s0
-/(vendor|system/vendor)/bin/hw/gpsd u:object_r:gpsd_exec:s0
-/(vendor|system/vendor)/bin/hw/macloader u:object_r:macloader_exec:s0
-/(vendor|system/vendor)/bin/mcDriverDaemon u:object_r:tee_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.camera\.provider@[0-9]\.[0-9]-service_64\.universal7904 u:object_r:hal_camera_default_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@[0-9]\.[0-9]-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@[0-9]\.[0-9]-service\.widevine u:object_r:hal_drm_widevine_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@[0-9]\.[0-9]-service\.samsung u:object_r:hal_keymaster_default_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@[0-9]\.[0-9]-service\.samsung u:object_r:hal_nfc_default_exec:s0
-/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.gnss@[0-9]\.[0-9]-service u:object_r:hal_gnss_default_exec:s0
diff --git a/sepolicy/vendor/hal_drm_clearkey.te b/sepolicy/vendor/hal_drm_clearkey.te
index ad30d13..3a93ffa 100644
--- a/sepolicy/vendor/hal_drm_clearkey.te
+++ b/sepolicy/vendor/hal_drm_clearkey.te
@@ -1,11 +1,3 @@
-# policy for /vendor/bin/hw/android.hardware.drm clearkey service
-type hal_drm_clearkey, domain;
-type hal_drm_clearkey_exec, exec_type, vendor_file_type, file_type;
-
-init_daemon_domain(hal_drm_clearkey)
-
-hal_server_domain(hal_drm_clearkey, hal_drm)
-
vndbinder_use(hal_drm_clearkey)
allow hal_drm_clearkey { appdomain -isolated_app }:fd use;
diff --git a/sepolicy/vendor/hal_drm_widevine.te b/sepolicy/vendor/hal_drm_widevine.te
index 178f9fa..56e2318 100644
--- a/sepolicy/vendor/hal_drm_widevine.te
+++ b/sepolicy/vendor/hal_drm_widevine.te
@@ -1,10 +1,3 @@
-type hal_drm_widevine, domain;
-type hal_drm_widevine_exec, exec_type, vendor_file_type, file_type;
-
-init_daemon_domain(hal_drm_widevine)
-
-hal_server_domain(hal_drm_widevine, hal_drm)
-
vndbinder_use(hal_drm_widevine)
allow hal_drm_widevine mediacodec:fd use;