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 // +build !appengine 5 6 package osutil 7 8 import ( 9 "os" 10 "os/exec" 11 ) 12 13 func RemoveAll(dir string) error { 14 return os.RemoveAll(dir) 15 } 16 17 func prolongPipe(r, w *os.File) { 18 } 19 20 func Sandbox(cmd *exec.Cmd, user, net bool) error { 21 return nil 22 } 23 24 func SandboxChown(file string) error { 25 return nil 26 } 27 28 func setPdeathsig(cmd *exec.Cmd) { 29 } 30