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