diff options
author | Paul Lawrence <paullawrence@google.com> | 2015-07-01 14:40:56 -0700 |
---|---|---|
committer | Paul Lawrence <paullawrence@google.com> | 2015-07-07 13:23:19 -0700 |
commit | 948410a4936fda5348304af9711db932926bcc1a (patch) | |
tree | 818c20f6659135757abe766fa08724324d899250 /init/builtins.cpp | |
parent | 8104616696ac5e806b16a393ea02c4f5d8efc328 (diff) |
Change init sequence to support file level encryption
File level encryption must get the key between mounting userdata and
calling post_fs_data when the directories are created. This requires
access to keymaster, which in turn is found from a system property.
Split property loaded into system and data, and load in right order.
Bug: 22233063
Diffstat (limited to 'init/builtins.cpp')
-rw-r--r-- | init/builtins.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/builtins.cpp b/init/builtins.cpp index 9e5f9ff89..64a363e98 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp @@ -803,9 +803,9 @@ int do_load_persist_props(int nargs, char **args) { return -1; } -int do_load_all_props(int nargs, char **args) { +int do_load_system_props(int nargs, char **args) { if (nargs == 1) { - load_all_props(); + load_system_props(); return 0; } return -1; |