aboutsummaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'selinux')
-rw-r--r--selinux/device.te2
-rw-r--r--selinux/dock_kbd_attach.te5
-rw-r--r--selinux/domain.te5
-rw-r--r--selinux/file.te1
-rw-r--r--selinux/file_contexts38
-rw-r--r--selinux/geomagneticd.te5
-rw-r--r--selinux/gpsd.te6
-rw-r--r--selinux/init.te5
-rw-r--r--selinux/orientationd.te5
-rw-r--r--selinux/pvrsrvinit.te16
-rw-r--r--selinux/rild.te7
-rw-r--r--selinux/smc_pa.te5
-rw-r--r--selinux/wpa_supplicant.te2
13 files changed, 0 insertions, 102 deletions
diff --git a/selinux/device.te b/selinux/device.te
deleted file mode 100644
index 7c28653..0000000
--- a/selinux/device.te
+++ /dev/null
@@ -1,2 +0,0 @@
-type efs_block_device, dev_type;
-type rfkill_device, dev_type;
diff --git a/selinux/dock_kbd_attach.te b/selinux/dock_kbd_attach.te
deleted file mode 100644
index 4858f15..0000000
--- a/selinux/dock_kbd_attach.te
+++ /dev/null
@@ -1,5 +0,0 @@
-# dock_kbd_attach
-type dock_kbd_attach, domain;
-type dock_kbd_attach_exec, exec_type, file_type;
-
-init_daemon_domain(dock_kbd_attach)
diff --git a/selinux/domain.te b/selinux/domain.te
deleted file mode 100644
index 98b0e6b..0000000
--- a/selinux/domain.te
+++ /dev/null
@@ -1,5 +0,0 @@
-## Pvrsrvinit
-# allow domain powervr_device:chr_file rw_file_perms;
-
-## Firmwares
-allow ueventd { firmware_ducati }:file r_file_perms;
diff --git a/selinux/file.te b/selinux/file.te
deleted file mode 100644
index 60c3dc6..0000000
--- a/selinux/file.te
+++ /dev/null
@@ -1 +0,0 @@
-type firmware_ducati, file_type;
diff --git a/selinux/file_contexts b/selinux/file_contexts
deleted file mode 100644
index 7c6b3ff..0000000
--- a/selinux/file_contexts
+++ /dev/null
@@ -1,38 +0,0 @@
-# GFX
-/dev/dsscomp u:object_r:video_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/mmcblk0p8 u:object_r:efs_block_device:s0
-
-# Bluetooth
-/dev/ttyO1 u:object_r:hci_attach_dev:s0
-/efs/bluetooth/(/.*)? u:object_r:bluetooth_efs_file:s0
-
-# GPS
-/dev/ttyO0 u:object_r:gps_device:s0
-/system/bin/gpsd u:object_r:gpsd_exec:s0
-
-# Sensors
-/system/bin/geomagneticd u:object_r:geomagneticd_exec:s0
-/system/bin/orientationd u:object_r:orientationd_exec:s0
-
-# Wifi
-/dev/rfkill u:object_r:rfkill_device:s0
-/efs/wifi/.mac.info u:object_r:wifi_data_file:s0
-
-# System binaries
-/system/bin/pvrsrvinit u:object_r:pvrsrvinit_exec:s0
-/system/vendor/bin/pvrsrvinit u:object_r:pvrsrvinit_exec:s0
-/system/vendor/bin/pvrsrvctl_SGX540_120 u:object_r:pvrsrvinit_exec:s0
-
-/system/bin/dock_kbd_attach u:object_r:dock_kbd_attach_exec:s0
-/system/bin/smc_pa_ctrl u:object_r:smc_pa_exec:s0
-
-# Firmwares
-/system/vendor/firmware/ducati-m3.bin u:object_r:firmware_ducati:s0
diff --git a/selinux/geomagneticd.te b/selinux/geomagneticd.te
deleted file mode 100644
index c286497..0000000
--- a/selinux/geomagneticd.te
+++ /dev/null
@@ -1,5 +0,0 @@
-# geomagneticd
-type geomagneticd, domain;
-type geomagneticd_exec, exec_type, file_type;
-
-init_daemon_domain(geomagneticd)
diff --git a/selinux/gpsd.te b/selinux/gpsd.te
deleted file mode 100644
index 36b93fb..0000000
--- a/selinux/gpsd.te
+++ /dev/null
@@ -1,6 +0,0 @@
-# gpsd - GPS daemon
-type gpsd, domain;
-type gpsd_exec, exec_type, file_type;
-
-init_daemon_domain(gpsd)
-net_domain(gpsd)
diff --git a/selinux/init.te b/selinux/init.te
deleted file mode 100644
index 23a3621..0000000
--- a/selinux/init.te
+++ /dev/null
@@ -1,5 +0,0 @@
-#init
-
-allow init self:process execmem;
-allow init self:capability sys_module;
-
diff --git a/selinux/orientationd.te b/selinux/orientationd.te
deleted file mode 100644
index 284b0cb..0000000
--- a/selinux/orientationd.te
+++ /dev/null
@@ -1,5 +0,0 @@
-# orientationd
-type orientationd, domain;
-type orientationd_exec, exec_type, file_type;
-
-init_daemon_domain(orientationd)
diff --git a/selinux/pvrsrvinit.te b/selinux/pvrsrvinit.te
deleted file mode 100644
index 3d82777..0000000
--- a/selinux/pvrsrvinit.te
+++ /dev/null
@@ -1,16 +0,0 @@
-# pvrsrvinit
-type pvrsrvinit, domain;
-type pvrsrvinit_exec, exec_type, file_type;
-
-init_daemon_domain(pvrsrvinit)
-
-allow pvrsrvinit gpu_device:chr_file rw_file_perms;
-allow pvrsrvinit kernel:system module_request;
-allow pvrsrvinit self:capability { sys_module };
-allow pvrsrvinit system_file:file x_file_perms;
-allow pvrsrvinit shell_exec:file rx_file_perms;
-allow pvrsrvinit pvrsrvinit_exec:file rx_file_perms;
-allow pvrsrvinit property_socket:sock_file write;
-allow pvrsrvinit init:unix_stream_socket connectto;
-allow pvrsrvinit block_device:dir search;
-allow pvrsrvinit gpu_device:chr_file { read write ioctl open };
diff --git a/selinux/rild.te b/selinux/rild.te
deleted file mode 100644
index 40406e3..0000000
--- a/selinux/rild.te
+++ /dev/null
@@ -1,7 +0,0 @@
-allow rild self:netlink_socket { create bind read write };
-allow rild self:netlink_route_socket { write };
-allow rild self:netlink_kobject_uevent_socket { create bind read write };
-
-allow rild radio_device:chr_file rw_file_perms;
-allow rild efs_block_device:blk_file rw_file_perms;
-allow rild efs_file:file { read open write setattr };
diff --git a/selinux/smc_pa.te b/selinux/smc_pa.te
deleted file mode 100644
index b836ec6..0000000
--- a/selinux/smc_pa.te
+++ /dev/null
@@ -1,5 +0,0 @@
-# smc_pa
-type smc_pa, domain;
-type smc_pa_exec, exec_type, file_type;
-
-init_daemon_domain(smc_pa)
diff --git a/selinux/wpa_supplicant.te b/selinux/wpa_supplicant.te
deleted file mode 100644
index f93d624..0000000
--- a/selinux/wpa_supplicant.te
+++ /dev/null
@@ -1,2 +0,0 @@
-allow wpa_socket wifi_data_file:sock_file unlink;
-allow wpa rfkill_device:chr_file rw_file_perms;