From ec831495e24c3fc9cc6b8ba8b9a9ba55b0c4ed4a Mon Sep 17 00:00:00 2001 From: jhenrique09 Date: Mon, 8 Jan 2018 16:24:58 -0200 Subject: [PATCH] sanders: sepolicy: Remove leftovers from few services --- device.mk | 4 ---- sepolicy/file_contexts | 2 -- sepolicy/qti_init_shell.te | 1 - 3 files changed, 7 deletions(-) diff --git a/device.mk b/device.mk index 3efabee..bceb9b5 100644 --- a/device.mk +++ b/device.mk @@ -300,9 +300,6 @@ PRODUCT_PACKAGES += \ # Ramdisk PRODUCT_PACKAGES += \ - init.mmi.touch.sh \ - init.qcom.ril.sh \ - init.qcom.bt.sh \ init.qcom.fm.sh \ wlan_carrier_bin.sh @@ -311,7 +308,6 @@ PRODUCT_PACKAGES += \ init.mmi.boot.sh \ init.mmi.rc \ init.mmi.usb.rc \ - init.oem.hw.sh \ init.qcom.rc \ ueventd.qcom.rc diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 046ba69..2f9c0b2 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -8,12 +8,10 @@ # Binaries /system/bin/adspd u:object_r:adspd_exec:s0 /system/bin/charge_only_mode u:object_r:charge_only_exec:s0 -/system/bin/hci_qcomm_init u:object_r:config_bluetooth_exec:s0 /system/bin/init\.mmi\.boot\.sh u:object_r:mmi_boot_exec:s0 /system/bin/wlan_carrier_bin\.sh u:object_r:init_wifi_exec:s0 /system/bin/motosh u:object_r:sensor_hub_exec:s0 /system/bin/akmd09912 u:object_r:akmd_exec:s0 -/system/etc/init\.qcom\.bt\.sh u:object_r:bluetooth_loader_exec:s0 # CMActions /sys/homebutton(/.*)? u:object_r:sysfs_homebutton:s0 diff --git a/sepolicy/qti_init_shell.te b/sepolicy/qti_init_shell.te index c55a61b..1edaa28 100644 --- a/sepolicy/qti_init_shell.te +++ b/sepolicy/qti_init_shell.te @@ -1,4 +1,3 @@ allow qti_init_shell apk_data_file:dir { write add_name create }; allow qti_init_shell apk_data_file:file { create write setattr }; -allow qti_init_shell bluetooth_loader_exec:file { open read }; allow qti_init_shell hci_attach_dev:chr_file { read write open ioctl };