aboutsummaryrefslogtreecommitdiffstats
path: root/vm/local
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2015-11-18 16:30:29 +0100
committerDmitry Vyukov <dvyukov@google.com>2015-11-18 16:30:29 +0100
commitbe856bc9e484b4ce3fac847b768fbdb95296f178 (patch)
tree5a6660826dc921b6e5c0082c5e2d2d139da5dcf6 /vm/local
parent016b19c61cd83fcf2fb990267b38a3231a5e70a7 (diff)
allow local vm to not call setuid (not necessary if started not under root)
Diffstat (limited to 'vm/local')
-rw-r--r--vm/local/local.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/local/local.go b/vm/local/local.go
index 0d4303e89..7af7b2c70 100644
--- a/vm/local/local.go
+++ b/vm/local/local.go
@@ -73,7 +73,7 @@ func (loc *local) Run() {
log.Printf("%v: started\n", name)
for run := 0; ; run++ {
cmd := exec.Command(loc.Fuzzer, "-name", name, "-saveprog", "-executor", loc.Executor,
- "-manager", fmt.Sprintf("localhost:%v", loc.mgrPort))
+ "-manager", fmt.Sprintf("localhost:%v", loc.mgrPort), "-dropprivs=0")
if loc.syscalls != "" {
cmd.Args = append(cmd.Args, "-calls="+loc.syscalls)
}