commit | f29c533c49ab1c90eae612b1c454f2c6879a6658 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Jul 11 15:38:26 2013 -0700 |
committer | Nick Kralevich <nnk@google.com> | Mon Jul 15 13:10:02 2013 -0700 |
tree | c607a3c0cd51b5a31ae330af8a6f0681ab342ce4 | |
parent | e1dbdd697894f84e2cb8882160f0e4104f739064 [diff] [blame] |
init: call restorecon on /sys Not all files on /sys are not getting labeled properly. Fix them. Change-Id: I9dcff76354e7f50d41f1b6e702836cfbbc149278
diff --git a/init/init.c b/init/init.c index d75adca..b7e34d0 100644 --- a/init/init.c +++ b/init/init.c
@@ -948,6 +948,7 @@ restorecon("/dev"); restorecon("/dev/socket"); restorecon("/dev/__properties__"); + restorecon_recursive("/sys"); is_charger = !strcmp(bootmode, "charger");