diff options
| author | Andrey Artemiev <artemiev@google.com> | 2022-07-12 17:06:16 -0700 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-07-19 19:37:54 +0200 |
| commit | 775344bcdc412431da5fa825b1012f0290fc8064 (patch) | |
| tree | 3f039e7c24f2242b354f65dc22b4b9e022a27423 /executor/executor.cc | |
| parent | 72a3cc0c8dfd0116bb3ecf36eb5983ec3cae691c (diff) | |
executor: added code to run Android with System account
Diffstat (limited to 'executor/executor.cc')
| -rw-r--r-- | executor/executor.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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"); |
