Loading set-verity-state/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ cc_binary { srcs: ["set-verity-state.cpp"], shared_libs: [ "libbase", "libbinder", "libcrypto", "libcrypto_utils", "libfs_mgr_binder", "libutils", ], static_libs: [ "libavb_user", Loading set-verity-state/set-verity-state.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ #include <android-base/file.h> #include <android-base/logging.h> #include <android-base/properties.h> #include <binder/ProcessState.h> #include <fs_mgr_overlayfs.h> #include <libavb_user/libavb_user.h> Loading Loading @@ -153,6 +154,9 @@ int main(int argc, char* argv[]) { return 1; } // Start a threadpool to service waitForService() callbacks as // fs_mgr_overlayfs_* might call waitForService() to get the image service. android::ProcessState::self()->startThreadPool(); bool any_changed = set_avb_verity_enabled_state(ops.get(), enable); any_changed |= overlayfs_setup(enable); Loading Loading
set-verity-state/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ cc_binary { srcs: ["set-verity-state.cpp"], shared_libs: [ "libbase", "libbinder", "libcrypto", "libcrypto_utils", "libfs_mgr_binder", "libutils", ], static_libs: [ "libavb_user", Loading
set-verity-state/set-verity-state.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ #include <android-base/file.h> #include <android-base/logging.h> #include <android-base/properties.h> #include <binder/ProcessState.h> #include <fs_mgr_overlayfs.h> #include <libavb_user/libavb_user.h> Loading Loading @@ -153,6 +154,9 @@ int main(int argc, char* argv[]) { return 1; } // Start a threadpool to service waitForService() callbacks as // fs_mgr_overlayfs_* might call waitForService() to get the image service. android::ProcessState::self()->startThreadPool(); bool any_changed = set_avb_verity_enabled_state(ops.get(), enable); any_changed |= overlayfs_setup(enable); Loading