mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
init: Resolve kernel trace_marker permissions on post-fs
* The permissions were not set to 222 instead of 220, thus introducing regular logs from libcutils: "cutils-trace: Error opening trace file: Permission denied (13)" * Refers to frameworks/native/cmds/atrace/atrace.rc Change-Id: I236ea25d2f2068f9f86a43492807f5f05e92da96
This commit is contained in:
parent
deef472fe9
commit
d4771911db
1 changed files with 4 additions and 0 deletions
|
@ -128,6 +128,10 @@ on boot
|
|||
|
||||
chown wifi wifi /sys/module/wlan/parameters/fwpath
|
||||
|
||||
on post-fs
|
||||
# Allow writing to the kernel trace log.
|
||||
chmod 0222 /sys/kernel/debug/tracing/trace_marker
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
chown system system /dev/wcnss_wlan
|
||||
|
|
Loading…
Reference in a new issue