rootdir: access to pstore denied to bootstat

Test: boot_reason_test.sh
Bug: 110925971
Change-Id: Iba7b7325fe8c9ad18a7f8dbda550d6008400693e
This commit is contained in:
Mark Salyzyn 2018-06-29 10:32:11 -07:00
parent 384a6820cb
commit 7ab805ea1d
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,8 @@ on init
# pstore/ramoops previous console log
mount pstore pstore /sys/fs/pstore nodev noexec nosuid
chown system log /sys/fs/pstore
chmod 0550 /sys/fs/pstore
chown system log /sys/fs/pstore/console-ramoops
chmod 0440 /sys/fs/pstore/console-ramoops
chown system log /sys/fs/pstore/console-ramoops-0