containerd/cmd/containerd
Tobias Klauser 4a6a2b9db0 Switch from package syscall to golang.org/x/sys
The syscall package is locked down and the comment in [1] advises to
switch code to use the corresponding package from golang.org/x/sys. Do
so and replace usage of package syscall with package
golang.org/x/sys/{unix,windows} where applicable.

  [1] https://github.com/golang/go/blob/master/src/syscall/syscall.go#L21-L24

This will also allow to get updates and fixes for syscall wrappers
without having to use a new go version.

Errno, Signal and SysProcAttr aren't changed as they haven't been
implemented in x/sys/. Stat_t from syscall is used if standard library
packages (e.g. os) require it. syscall.ENOTSUP, syscall.SIGKILL and
syscall.SIGTERM are used for cross-platform files.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-08-09 13:41:16 +02:00
..
builtins_btrfs_linux.go Shorten no-btrfs build tag name 2017-05-12 09:53:57 -05:00
builtins_linux.go containerd: compile tags to exclude btrfs 2017-05-04 17:30:23 -04:00
builtins_unix.go Add solaris build support 2017-08-07 12:40:21 -07:00
builtins_windows.go Initial windows runtime work 2017-04-07 09:20:44 -07:00
builtins.go Rename execution service to tasks 2017-06-21 14:39:25 -07:00
config_linux.go Set subreaper true in default linux config 2017-08-07 14:40:26 -04:00
config_solaris.go Add solaris build support 2017-08-07 12:40:21 -07:00
config_unsupported.go Merge pull request #1224 from epilatow/solaris.cc.20170719.0 2017-08-07 16:15:07 -04:00
config_windows.go Resurrect State directory 2017-08-03 09:15:53 -07:00
config.go Create server package for containerd daemon 2017-06-22 13:08:19 -07:00
main_linux.go Move platformInit and plugin load to server 2017-06-23 12:06:31 -07:00
main_unix.go Add solaris build support 2017-08-07 12:40:21 -07:00
main_windows.go Switch from package syscall to golang.org/x/sys 2017-08-09 13:41:16 +02:00
main.go Do not touch grpc logger from within the packages 2017-08-04 10:11:46 -07:00