aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_windows.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-09-17 11:39:04 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-09-17 11:39:04 +0200
commit98f4a9612dd54429b3f92dccf631fdfa4f9018f3 (patch)
tree673d1b4845d7a6de5b0a20c30a28d76c32356018 /executor/common_windows.h
parent0eca949a6c271b879d582e01c3d1d79dc704172c (diff)
executor: make sandboxes more modular
Currently we have a global fixed set of sandboxes, which makes it hard to add new OS-specific ones (all OSes need to updated to say that they don't support this sandbox). Let it each OS say what sandboxes it supports instead.
Diffstat (limited to 'executor/common_windows.h')
-rw-r--r--executor/common_windows.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/executor/common_windows.h b/executor/common_windows.h
index 2a89ea469..d6b786ac1 100644
--- a/executor/common_windows.h
+++ b/executor/common_windows.h
@@ -111,9 +111,3 @@ static int do_sandbox_none(void)
doexit(0);
}
#endif
-
-#if SYZ_EXECUTOR
-#define do_sandbox_setuid() 0
-#define do_sandbox_namespace() 0
-#define do_sandbox_android_untrusted_app() 0
-#endif