diff options
author | baude <bbaude@redhat.com> | 2018-06-28 13:52:12 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-28 20:28:38 +0000 |
commit | 67f68626e6e5116ec088f511a0f8a17158b303db (patch) | |
tree | f95284f8e3ea61421309f2b363a0b3bca6764075 /vendor/golang.org/x/sys/unix/openbsd_pledge.go | |
parent | 45c745e0b0d0fe648283e954b8e1b37a46887458 (diff) | |
download | podman-67f68626e6e5116ec088f511a0f8a17158b303db.tar.gz podman-67f68626e6e5116ec088f511a0f8a17158b303db.tar.bz2 podman-67f68626e6e5116ec088f511a0f8a17158b303db.zip |
vendor in latest golang/x/sys
Signed-off-by: baude <bbaude@redhat.com>
Closes: #1022
Approved by: baude
Diffstat (limited to 'vendor/golang.org/x/sys/unix/openbsd_pledge.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/openbsd_pledge.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/golang.org/x/sys/unix/openbsd_pledge.go b/vendor/golang.org/x/sys/unix/openbsd_pledge.go index db4f72ea9..9b1e86a12 100644 --- a/vendor/golang.org/x/sys/unix/openbsd_pledge.go +++ b/vendor/golang.org/x/sys/unix/openbsd_pledge.go @@ -13,7 +13,7 @@ import ( ) const ( - SYS_PLEDGE = 108 + _SYS_PLEDGE = 108 ) // Pledge implements the pledge syscall. For more information see pledge(2). @@ -30,7 +30,7 @@ func Pledge(promises string, paths []string) error { } pathsUnsafe = unsafe.Pointer(&pathsPtr[0]) } - _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(promisesUnsafe), uintptr(pathsUnsafe), 0) + _, _, e := syscall.Syscall(_SYS_PLEDGE, uintptr(promisesUnsafe), uintptr(pathsUnsafe), 0) if e != 0 { return e } |