summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-01-14 17:46:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-14 17:46:46 +0000
commit8c7380b4761d5ca02d839ccd337014116134a5b8 (patch)
tree526f349eb8fee3ad9381e45b23ee58b7385827fc /rootdir
parent03e45da4fee72c9ebe9416c36d8bc60a43ec028e (diff)
parent3802b5d4c5cb14864dcdd8820e9140b81a2d7d78 (diff)
downloadsystem_core-8c7380b4761d5ca02d839ccd337014116134a5b8.zip
system_core-8c7380b4761d5ca02d839ccd337014116134a5b8.tar.gz
system_core-8c7380b4761d5ca02d839ccd337014116134a5b8.tar.bz2
am 3802b5d4: Merge "rootdir: add pstore"
* commit '3802b5d4c5cb14864dcdd8820e9140b81a2d7d78': rootdir: add pstore
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc2
-rw-r--r--rootdir/ueventd.rc1
2 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index cbcb842..b4bed91 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -150,6 +150,8 @@ on init
mount pstore pstore /sys/fs/pstore
chown system log /sys/fs/pstore/console-ramoops
chmod 0440 /sys/fs/pstore/console-ramoops
+ chown system log /sys/fs/pstore/pmsg-ramoops-0
+ chmod 0440 /sys/fs/pstore/pmsg-ramoops-0
# Healthd can trigger a full boot from charger mode by signaling this
# property when the power button is held.
diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc
index 474f630..9cf9ed9 100644
--- a/rootdir/ueventd.rc
+++ b/rootdir/ueventd.rc
@@ -16,6 +16,7 @@ subsystem adf
# Anyone can read the logs, but if they're not in the "logs"
# group, then they'll only see log entries for their UID.
/dev/log/* 0666 root log
+/dev/pmsg0 0222 root log
# the msm hw3d client device node is world writable/readable.
/dev/msm_hw3dc 0666 root root