• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 syzkaller project authors. All rights reserved.
2 // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
3 
4 // This file is shared between executor and csource package.
5 
6 #include <unistd.h>
7 
8 #if SYZ_EXECUTOR || SYZ_SANDBOX_NONE
9 static void loop();
do_sandbox_none(void)10 static int do_sandbox_none(void)
11 {
12 	loop();
13 	return 0;
14 }
15 #endif
16 
17 #if SYZ_EXECUTOR
18 #define do_sandbox_setuid() 0
19 #define do_sandbox_namespace() 0
20 #endif
21