k3s/pkg/volume/util
Kubernetes Submit Queue 5d24a2c199 Merge pull request #49300 from tklauser/syscall-to-x-sys-unix
Automatic merge from submit-queue

Switch from package syscall to golang.org/x/sys/unix

**What this PR does / why we need it**:

The syscall package is locked down and the comment in https://github.com/golang/go/blob/master/src/syscall/syscall.go#L21-L24 advises to switch code to use the corresponding package from golang.org/x/sys. This PR does so and replaces usage of package syscall with package golang.org/x/sys/unix where applicable. This will also allow to get updates and fixes
without having to use a new go version.

In order to get the latest functionality, golang.org/x/sys/ is re-vendored. This also allows to use Eventfd() from this package instead of calling the eventfd() C function.

**Special notes for your reviewer**:

This follows previous works in other Go projects, see e.g. moby/moby#33399, cilium/cilium#588

**Release note**:

```release-note
NONE
```
2017-08-03 04:02:12 -07:00
..
nestedpendingoperations run hack/update-all 2017-06-22 11:31:03 -07:00
operationexecutor Fix controller crash because of nil volume spec 2017-07-21 18:42:11 -04:00
types autogenerated 2017-04-14 10:40:57 -07:00
volumehelper run hack/update-all 2017-06-22 11:31:03 -07:00
BUILD switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
OWNERS Update OWNERS for pkg/volume/util/ 2016-11-13 18:02:15 -08:00
atomic_writer.go use built-in path separator instead of hard coded 2017-07-09 23:24:34 +08:00
atomic_writer_test.go move authoritative client-go utils out of pkg 2017-01-24 08:59:18 -05:00
device_util.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
device_util_linux.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
device_util_linux_test.go fix go vet errors 2016-08-10 16:45:41 -07:00
device_util_unsupported.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
fs.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
fs_unsupported.go pkg/api/resource: move to apimachinery 2017-01-29 21:41:44 +01:00
io_util.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
util.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
util_test.go Manual changes. 2017-07-17 15:05:37 -07:00