diff options
author | Elliott Hughes <enh@google.com> | 2015-04-24 18:38:17 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-04-24 12:26:05 -0700 |
commit | f65730e620dde083133b8c1ab61c0d07b4dd8c2f (patch) | |
tree | a92c5688fc45a24edfc25c9a709086d9d752da05 /init/init_parser.cpp | |
parent | 34dd04dbb53bc6dc1ec4f9c6639b10acb7c53c72 (diff) |
Revert "Revert "Make init re-exec itself for its SELinux domain transition.""
This reverts commit 4217374611ada50f33aee544f015f6f9dfbf7ced.
It turns out that the kernel passes any unrecognized arguments on to init,
and (at least) N6 and N9 have such arguments. My lazy check of argc was
thus insufficient to recognize what stage of init we were in, so we'd
skip to stage 2 and not set up SELinux. And apparently you can get a
very long way with SELinux off... We'll fix that in a later change.
Bug: 19702273
Change-Id: I43b3fb722fed35dd217cb529cbcac9a29aff4e4b
Diffstat (limited to 'init/init_parser.cpp')
0 files changed, 0 insertions, 0 deletions