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

Commit ef247924 authored by Paul Lawrence's avatar Paul Lawrence Committed by android-build-merger
Browse files

Merge "Fix selinux warning on tracefs systems" am: 0ad600bd am: 3915012a am: 67387a35

am: a0d26e7c

Change-Id: I004165050ab96c3a9a7f1fbcdadf84c22b8256d9
parents f5eee7d3 a0d26e7c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -308,6 +308,10 @@ on post-fs
    # Make sure /sys/kernel/debug (if present) is labeled properly
    restorecon_recursive /sys/kernel/debug

    # On systems with tracefs, tracing is a separate mount, so make sure
    # it too is correctly labeled
    restorecon_recursive /sys/kernel/debug/tracing

    # We chown/chmod /cache again so because mount is run as root + defaults
    chown system cache /cache
    chmod 0770 /cache