diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-07-06 15:29:02 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-07-06 15:59:35 +0200 |
| commit | 36db93ffb999fa743fc81cf9d05811b94751ca5f (patch) | |
| tree | 17ed11d544e3735eaaadfa589998766372b853bb /pkg/osutil/osutil_appengine.go | |
| parent | 4e3820bfb2ea2331d420033ae77d341ed049c2a5 (diff) | |
pkg/osutil: remove appengine tag
Appengine doesn't provide appengine tag anymore.
Resort to use of syscall package for ExitStatus instead.
Diffstat (limited to 'pkg/osutil/osutil_appengine.go')
| -rw-r--r-- | pkg/osutil/osutil_appengine.go | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/pkg/osutil/osutil_appengine.go b/pkg/osutil/osutil_appengine.go deleted file mode 100644 index 774866eee..000000000 --- a/pkg/osutil/osutil_appengine.go +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2017 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -// +build appengine - -package osutil - -import ( - "os/exec" -) - -func Sandbox(cmd *exec.Cmd, user, net bool) error { - return nil -} - -func SandboxChown(file string) error { - return nil -} - -func setPdeathsig(cmd *exec.Cmd) { -} - -func killPgroup(cmd *exec.Cmd) { -} - -func exitCode(err error) int { - // We are stuck on Go 1.11 on appengine. - // 1.11 does not have ProcessState.ExitCode. - // Once we upgrade to 1.12, we should remove this. - return 0 -} |
