aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-prog2c
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-05-18 17:03:02 +0200
committerAndrey Konovalov <andreyknvl@google.com>2017-06-12 19:48:23 +0200
commit73a895df6168bc12559d1fa16aae7e52646d7ec3 (patch)
tree3a1dc5c7395bbac98dc3f7f82360097f9e72011f /tools/syz-prog2c
parent1bdb387c18a852e75aef0b3c4ddb0481f90d66bd (diff)
csource: use sandbox only when required
Diffstat (limited to 'tools/syz-prog2c')
-rw-r--r--tools/syz-prog2c/prog2c.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-prog2c/prog2c.go b/tools/syz-prog2c/prog2c.go
index 1d2007755..75a5126e3 100644
--- a/tools/syz-prog2c/prog2c.go
+++ b/tools/syz-prog2c/prog2c.go
@@ -18,7 +18,7 @@ var (
flagCollide = flag.Bool("collide", false, "create collide program")
flagRepeat = flag.Bool("repeat", false, "repeat program infinitely or not")
flagProcs = flag.Int("procs", 4, "number of parallel processes")
- flagSandbox = flag.String("sandbox", "none", "sandbox to use (none, setuid, namespace)")
+ flagSandbox = flag.String("sandbox", "", "sandbox to use (none, setuid, namespace)")
flagProg = flag.String("prog", "", "file with program to convert (required)")
flagFaultCall = flag.Int("fault_call", -1, "inject fault into this call (0-based)")
flagFaultNth = flag.Int("fault_nth", 0, "inject fault on n-th operation (0-based)")