commit | 75dbb4962991226ef3ac86d118f02aeefd250dba | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed May 03 22:11:05 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed May 03 22:11:06 2017 +0000 |
tree | a24f0502a70e5354629a455140a9734bb416eab4 | |
parent | 7513a3aad896629a18242918f0ffb9e4472588d3 [diff] | |
parent | 3cd124599e7f76243625a9a3b69dc4e8cb667ea0 [diff] |
Merge "init: use do_exec() for init_user0"
diff --git a/init/builtins.cpp b/init/builtins.cpp index 559fb84..3dadfd7 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp
@@ -835,7 +835,9 @@ } static int do_init_user0(const std::vector<std::string>& args) { - return e4crypt_do_init_user0(); + std::vector<std::string> exec_args = {"exec", "/system/bin/vdc", "--wait", "cryptfs", + "init_user0"}; + return do_exec(exec_args); } const BuiltinFunctionMap::Map& BuiltinFunctionMap::map() const {