aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-03-04 12:23:23 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-04-18 12:34:07 -0700
commit7ba368eefea595ea4e07be5ad7eb041a3c42fedb (patch)
tree6dabaf3e00ed45e0eb67760146e59c4658ac814c
parentbcbffd18cda8b95daa2b37c5d0a3c9ae2d98581b (diff)
downloaddevice_samsung_espressowifi-7ba368eefea595ea4e07be5ad7eb041a3c42fedb.zip
device_samsung_espressowifi-7ba368eefea595ea4e07be5ad7eb041a3c42fedb.tar.gz
device_samsung_espressowifi-7ba368eefea595ea4e07be5ad7eb041a3c42fedb.tar.bz2
sepolicy: remove espresso3g specific rules
These rules are outdated, updated policies will be added to the espresso3g device tree in the future. Change-Id: I3df53f292be79bca4877c0dbc682123f923afb08
-rw-r--r--sepolicy/file_contexts7
-rw-r--r--sepolicy/gpsd.te1
-rw-r--r--sepolicy/radio.te2
-rw-r--r--sepolicy/rild.te15
4 files changed, 0 insertions, 25 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 960bc88..44fd317 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -21,13 +21,6 @@
# GFX
/dev/gcioctl 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
-
# Bluetooth
/dev/ttyO1 u:object_r:hci_attach_dev:s0
/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
diff --git a/sepolicy/gpsd.te b/sepolicy/gpsd.te
index 6fabca6..21f996c 100644
--- a/sepolicy/gpsd.te
+++ b/sepolicy/gpsd.te
@@ -1,5 +1,4 @@
# gpsd - GPS daemon
-allow gpsd rild:unix_stream_socket { connectto };
allow gpsd self:process { execmem };
allow gpsd sysfs_wake_lock:file { read write };
diff --git a/sepolicy/radio.te b/sepolicy/radio.te
deleted file mode 100644
index 9d2274c..0000000
--- a/sepolicy/radio.te
+++ /dev/null
@@ -1,2 +0,0 @@
-# radio
-allow radio system_app_data_file:file getattr;
diff --git a/sepolicy/rild.te b/sepolicy/rild.te
deleted file mode 100644
index f494c78..0000000
--- a/sepolicy/rild.te
+++ /dev/null
@@ -1,15 +0,0 @@
-# rild
-allow rild block_device:dir { search };
-allow rild dumpstate_exec:file getattr;
-allow rild efs_block_device:blk_file rw_file_perms;
-allow rild efs_block_device:dir { search };
-allow rild efs_file:file { read open write getattr setattr append };
-allow rild efs_file:dir { search };
-allow rild radio_data_file:dir { setattr };
-allow rild radio_device:chr_file rw_file_perms;
-allow rild self:netlink_kobject_uevent_socket { create bind read write };
-allow rild self:netlink_route_socket { write };
-allow rild self:netlink_socket { create bind read write };
-allow rild self:process { execmem };
-allow rild system_data_file:dir { getattr setattr write remove_name add_name search };
-allow rild unlabeled:dir search;