Merge "init.rc: restorecon_recursive /sys/kernel/debug" am: 6d85c06aa1 am: 070288241d
am: baaeddfa23
* commit 'baaeddfa239625a9d54091c628242d84a9191514':
init.rc: restorecon_recursive /sys/kernel/debug
diff --git a/rootdir/init.rc b/rootdir/init.rc
index b43f8f9..25cb64f 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -261,6 +261,9 @@
# Mount default storage into root namespace
mount none /mnt/runtime/default /storage slave bind rec
+ # Make sure /sys/kernel/debug (if present) is labeled properly
+ restorecon_recursive /sys/kernel/debug
+
# We chown/chmod /cache again so because mount is run as root + defaults
chown system cache /cache
chmod 0770 /cache