Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4198ea4b authored by lirokoa's avatar lirokoa
Browse files

Remove obsolete selinux rules

parent 3a7fe243
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -27,20 +27,3 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/n8000/bluetooth

# assert
TARGET_OTA_ASSERT_DEVICE := c0,p4noterf,n8000,GT-N8000


# Selinux
# BOARD_SEPOLICY_DIRS += \
#     device/samsung/n8000/selinux

# BOARD_SEPOLICY_UNION += \
#     device.te \
#     domain.te \
#     file.te \
#     file_contexts \
#     init.te \
#     mediaserver.te \
#     rild.te \
#     system.te \
#     ueventd.te \
#     wpa_supplicant.te

selinux/device.te

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
type mali_device, dev_type, mlstrustedobject;
type rfkill_device, dev_type;
type efs_block_device, dev_type;

selinux/domain.te

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
## /dev/mali, /dev/ump
allow domain mali_device:chr_file rw_file_perms;

selinux/file.te

deleted100644 → 0
+0 −4
Original line number Diff line number Diff line
type firmware_mfc, file_type;
type firmware_camera, file_type;

type sensors_data_file, file_type, data_file_type;

selinux/file_contexts

deleted100644 → 0
+0 −37
Original line number Diff line number Diff line
# GFX
/dev/mali                               u:object_r:mali_device:s0
/dev/ump                                u:object_r:mali_device:s0
/dev/fimg2d                             u:object_r:mali_device:s0

# RIL
/dev/umts_boot0                         u:object_r:radio_device:s0
/dev/umts_boot1                         u:object_r:radio_device:s0
/dev/umts_ipc0                          u:object_r:radio_device:s0
/dev/umts_ramdump0                      u:object_r:radio_device:s0
/dev/umts_rfs0                          u:object_r:radio_device:s0

/dev/block/mmcblk0p7                    u:object_r:efs_block_device:s0

# Camera
/data/ISP_CV                            u:object_r:camera_data_file:s0
/dev/exynos-mem                         u:object_r:video_device:s0

# Bluetooth
/dev/ttySAC0                            u:object_r:hci_attach_dev:s0
/efs/bluetooth/(/.*)?                   u:object_r:bluetooth_efs_file:s0

# GPS
/dev/ttySAC1                            u:object_r:gps_device:s0

# Sensors
/dev/akm8975                            u:object_r:sensors_device:s0
/efs/gyro_cal_data                      u:object_r:sensors_data_file:s0

# Wifi
/dev/rfkill                             u:object_r:rfkill_device:s0
/efs/wifi/.mac.info                     u:object_r:wifi_data_file:s0

# Firmwares
/system/vendor/firmware(/.*)?           u:object_r:firmware_camera:s0
/system/vendor/firmware/mfc_fw.bin      u:object_r:firmware_mfc:s0
/data/cfw(/.*)?                         u:object_r:firmware_camera:s0
Loading