Browse files

fix vulnerability

Change-Id: Ie75fb74b816c096f3c8c643909fd4b35b57db193
  • Loading branch information...
1 parent 300d0cd commit bc1e3e4d563e4f6fcda08eaffe535491660049f0 Serban Zodian committed May 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 rootdir/init.rc
View
4 rootdir/init.rc
@@ -157,7 +157,7 @@ on post-fs
mkdir /data/misc/wifi 0770 wifi wifi
chmod 0770 /data/misc/wifi
chmod 0660 /data/misc/wifi/wpa_supplicant.conf
- mkdir /data/local 0771 shell shell
+ mkdir /data/local 0751 root root
mkdir /data/local/tmp 0771 shell shell
mkdir /data/data 0771 system system
mkdir /data/app-private 0771 system system
@@ -356,7 +356,7 @@ service ril-daemon /system/bin/rild
group radio cache inet misc audio sdcard_rw
service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
- socket zygote stream 666
+ socket zygote stream 660 root system
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
onrestart restart media

0 comments on commit bc1e3e4

Please sign in to comment.