Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5878649 authored by Chris Fries's avatar Chris Fries
Browse files

atrace.rc: Move tracefs permissions to late-init

init needs to be the first process to touch /sys/kernel/debug/tracing,
so let's enforce that by moving these chmod's earlier.

tracefs is an automounting filesystem, so the first consumer needs to
have permissions to do the mount.

Bug: 78460200
Change-Id: I15ff0be2ca046d44f8b3ad4abf845cf14c1bad23
parent 8c533232
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
## Permissions to allow system-wide tracing to the kernel trace buffer.
##
on post-fs
on late-init

# Allow writing to the kernel trace log.
    chmod 0222 /sys/kernel/debug/tracing/trace_marker