From 775344bcdc412431da5fa825b1012f0290fc8064 Mon Sep 17 00:00:00 2001 From: Andrey Artemiev Date: Tue, 12 Jul 2022 17:06:16 -0700 Subject: executor: added code to run Android with System account --- executor/executor.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'executor/executor.cc') diff --git a/executor/executor.cc b/executor/executor.cc index 7a8eebdab..392c63a32 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -414,6 +414,10 @@ static void setup_features(char** enable, int n); #include "test.h" +#if SYZ_HAVE_SANDBOX_ANDROID +static int sandbox_arg = 0; +#endif + int main(int argc, char** argv) { if (argc == 2 && strcmp(argv[1], "version") == 0) { @@ -527,7 +531,7 @@ int main(int argc, char** argv) #endif #if SYZ_HAVE_SANDBOX_ANDROID else if (flag_sandbox_android) - status = do_sandbox_android(); + status = do_sandbox_android(sandbox_arg); #endif else fail("unknown sandbox type"); -- cgit mrf-deployment