3
0

permissions: Remove some nasty 777s

Anyone could view framebuffer memory...  not good

Probably some of the other 666s in ueventd need additional work,
but changing them all to 660 causes epicfail.

Change-Id: Ia8d148fac425a72d15e40f8d393cd16078974fd0
This commit is contained in:
Andrew Dodd 2012-12-19 18:58:16 -05:00
parent 7b75ae1d8f
commit 1d34188cb1
2 changed files with 0 additions and 13 deletions

View File

@ -24,17 +24,6 @@ on early-init
# Disable CFQ slice idle delay # Disable CFQ slice idle delay
write /sys/block/mmcblk0/queue/iosched/slice_idle 0 write /sys/block/mmcblk0/queue/iosched/slice_idle 0
# FIXME: permissions for tvout
chmod 0777 /dev/graphics/fb0
chmod 0777 /dev/graphics/fb10
chmod 0777 /dev/graphics/fb11
chown media graphics /sys/class/switch/hdmi
chmod 0777 /sys/class/switch/hdmi
# FIXME: permission for HDMI audio path
chown media audio /sys/class/hdmi_audio/hdmi_audio/hdmi_audio_set_ext
chmod 0777 /sys/class/hdmi_audio/hdmi_audio/hdmi_audio_set_ext
on fs on fs
# mount ext4 partitions # mount ext4 partitions
mount ext4 /dev/block/mmcblk0p9 /system noatime wait ro mount ext4 /dev/block/mmcblk0p9 /system noatime wait ro

View File

@ -30,5 +30,3 @@
/dev/block/mmcblk0p8 0660 system radio /dev/block/mmcblk0p8 0660 system radio
/dev/akm8975 0660 system system /dev/akm8975 0660 system system
/dev/accelerometer 0660 system system /dev/accelerometer 0660 system system
/dev/graphics/fb0 0777 root graphics
/dev/rfkill 0666 root root