Merge "init.rc: restorecon_recursive /sys/kernel/debug"
am: 6d85c06aa1
* commit '6d85c06aa1600e905cf3e0b093e939fa3866ee59':
init.rc: restorecon_recursive /sys/kernel/debug
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 91d6697..b40b9ba 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -248,6 +248,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