summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrootdir/init.tuna.rc17
-rw-r--r--sepolicy/file_contexts5
-rw-r--r--sepolicy/pvrsrvinit.te8
3 files changed, 1 insertions, 29 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc
index e14415e..892302a 100755
--- a/rootdir/init.tuna.rc
+++ b/rootdir/init.tuna.rc
@@ -1,3 +1,4 @@
+import init.omap4.rc
import init.tuna.usb.rc
on init
@@ -40,7 +41,6 @@ on post-fs-data
on boot
mount debugfs /sys/kernel/debug /sys/kernel/debug
- chmod 0666 /dev/pvrsrvkm
# autosuspend root hubs immediatly after attached devices
write /sys/bus/usb/devices/usb1/power/autosuspend_delay_ms 0
@@ -78,14 +78,6 @@ on fs
# pvr module
insmod /system/lib/modules/pvrsrvkm_sgx540_120.ko
- start pvrsrvinit
-
- # change permissions for Tiler driver
- chmod 0777 /dev/tiler
- chmod 0777 /dev/dmm
-
- # change permissions for ION driver
- chmod 0777 /dev/ion
# add symlink for HDCP key
symlink /factory/hdcp.keys /system/vendor/firmware/hdcp.keys
@@ -145,13 +137,6 @@ service dumpdcc /system/bin/dumpdcc
class late_start
oneshot
-service pvrsrvinit /system/bin/pvrsrvinit
- class core
- user root
- group root
- oneshot
- disabled
-
# create filesystems if necessary
service setup_fs /system/bin/setup_fs \
/dev/block/platform/omap/omap_hsmmc.0/by-name/cache \
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 8f33998..17417ec 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -6,7 +6,6 @@
/dev/an30259a_leds u:object_r:video_device:s0
/dev/cdma_.* u:object_r:radio_device:s0
/dev/lte_.* u:object_r:radio_device:s0
-/dev/tiler u:object_r:video_device:s0
/dev/timerirq u:object_r:sensors_device:s0
/dev/ttyFIQ0 u:object_r:console_device:s0
/dev/ttyGS0 u:object_r:radio_device:s0
@@ -30,12 +29,8 @@
# In Samsung Tuna Board, ttyO0 is for uart driver. gps_device is device specific
/dev/ttyO0 u:object_r:gps_device:s0
-# surface flinger
-/dev/dsscomp u:object_r:graphics_device:s0
-
# Accelerometer
/dev/accelirq u:object_r:sensors_device:s0
# System binaries
-/system/bin/pvrsrvinit u:object_r:pvrsrvinit_exec:s0
/system/bin/dumpdcc u:object_r:dumpdcc_exec:s0
diff --git a/sepolicy/pvrsrvinit.te b/sepolicy/pvrsrvinit.te
deleted file mode 100644
index 8b388a0..0000000
--- a/sepolicy/pvrsrvinit.te
+++ /dev/null
@@ -1,8 +0,0 @@
-# pvrsrvinit
-type pvrsrvinit, domain;
-type pvrsrvinit_exec, exec_type, file_type;
-
-init_daemon_domain(pvrsrvinit)
-
-allow pvrsrvinit gpu_device:chr_file { read write ioctl open };
-allow pvrsrvinit self:capability sys_module;