Merge "Fix selinux warning on tracefs systems"

am: 0ad600bdc6

Change-Id: Ibaab6580caf0fe216cfae72bf5d2560fec02afdf
This commit is contained in:
Paul Lawrence 2016-11-07 15:07:22 +00:00 committed by android-build-merger
commit 3915012a46

View file

@ -307,6 +307,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