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:
Adrian DC 2018-08-15 15:29:55 +02:00 committed by followmsi
parent deef472fe9
commit d4771911db

View file

@ -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