aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2010-06-02 11:18:36 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-06-02 11:18:36 -0700
commitb1fb3bd13a4da8bc46a44ec5eef6de9cb952f163 (patch)
tree3cc4dfb3178ec318ae96c14c54ebe8f56a6b3ec2 /rootdir
parent456688bfb4fa7817031a1d704e8353e1dd5efb3c (diff)
parent230cb33fd1ab335c6f808c72db891993b00110a0 (diff)
downloadsystem_core-b1fb3bd13a4da8bc46a44ec5eef6de9cb952f163.tar.gz
system_core-b1fb3bd13a4da8bc46a44ec5eef6de9cb952f163.tar.bz2
system_core-b1fb3bd13a4da8bc46a44ec5eef6de9cb952f163.zip
am 230cb33f: Make /proc/kmsg and /proc/sysrq-trigger system-process-readable
Merge commit '230cb33fd1ab335c6f808c72db891993b00110a0' into froyo-plus-aosp * commit '230cb33fd1ab335c6f808c72db891993b00110a0': Make /proc/kmsg and /proc/sysrq-trigger system-process-readable
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 63769f5a..1e446f7e 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -122,6 +122,12 @@ loglevel 3
chown root log /proc/vmallocinfo
chmod 0440 /proc/vmallocinfo
+ #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
+ chown root system /proc/kmsg
+ chmod 0440 /proc/kmsg
+ chown root system /proc/sysrq-trigger
+ chmod 0220 /proc/sysrq-trigger
+
# create basic filesystem structure
mkdir /data/misc 01771 system misc
mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth