summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSangcheol Lee <goodsc.lee@samsung.com>2012-11-26 13:10:08 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-11-26 13:10:08 -0800
commit080447214442e3aa933d98f9e3f310f77f37c696 (patch)
tree9ccbf21416fae7b8891a9de094cf26fddca42663
parentf0fdfddd29e3d20ccc225e6191c365216a215dfb (diff)
parente679e728406843847fed80fefa510f5a50a1fbe6 (diff)
downloaddevice_samsung_tuna-080447214442e3aa933d98f9e3f310f77f37c696.zip
device_samsung_tuna-080447214442e3aa933d98f9e3f310f77f37c696.tar.gz
device_samsung_tuna-080447214442e3aa933d98f9e3f310f77f37c696.tar.bz2
am b1095454: am a0665814: [tuna] GPS: Fix security hole
* commit 'e679e728406843847fed80fefa510f5a50a1fbe6': [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