summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSangcheol Lee <goodsc.lee@samsung.com>2012-11-26 13:11:59 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-11-26 13:11:59 -0800
commitde6db9fa52a0c7b39cb93f5e13a7b99126c36c9c (patch)
treeaef52b867ed80cb9c9254dba34e8252737132ca8
parent8cd278e19a52305d952f14cfd2e5f277658647c4 (diff)
parent080447214442e3aa933d98f9e3f310f77f37c696 (diff)
downloaddevice_samsung_tuna-de6db9fa52a0c7b39cb93f5e13a7b99126c36c9c.zip
device_samsung_tuna-de6db9fa52a0c7b39cb93f5e13a7b99126c36c9c.tar.gz
device_samsung_tuna-de6db9fa52a0c7b39cb93f5e13a7b99126c36c9c.tar.bz2
am cc6bde82: am b1095454: am a0665814: [tuna] GPS: Fix security hole
* commit '080447214442e3aa933d98f9e3f310f77f37c696': [tuna] GPS: Fix security hole
-rwxr-xr-xinit.tuna.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 466ee7c..c5016d5 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -106,6 +106,8 @@ on fs
chmod 0660 /sys/class/sec/gps/GPS_PWR_EN/value
chown root system /sys/class/sec/gps/GPS_nRST/value
chmod 0660 /sys/class/sec/gps/GPS_nRST/value
+ chown system system /proc/mcspi1_cs3_ctrl
+ chmod 0600 /proc/mcspi1_cs3_ctrl
# ril control auto-suspend
chmod 0660 /sys/bus/usb/devices/usb1/power/control