From 98f4a9612dd54429b3f92dccf631fdfa4f9018f3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 17 Sep 2018 11:39:04 +0200 Subject: 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. --- executor/common_fuchsia.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'executor/common_fuchsia.h') diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index fb08aa2a0..d232f2a14 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -241,12 +241,6 @@ static int do_sandbox_none(void) } #endif -#if SYZ_EXECUTOR -#define do_sandbox_setuid() 0 -#define do_sandbox_namespace() 0 -#define do_sandbox_android_untrusted_app() 0 -#endif - // Ugly way to work around gcc's "error: function called through a non-compatible type". // The macro is used in generated C code. #define CAST(f) ({void* p = (void*)f; p; }) -- cgit mrf-deployment