diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/golang.org/x/sys/unix/syscall_dragonfly.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_dragonfly.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_dragonfly.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go index 6401e3a..962eee3 100644 --- a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go +++ b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go | |||
@@ -234,6 +234,13 @@ func Uname(uname *Utsname) error { | |||
234 | return nil | 234 | return nil |
235 | } | 235 | } |
236 | 236 | ||
237 | func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { | ||
238 | if raceenabled { | ||
239 | raceReleaseMerge(unsafe.Pointer(&ioSync)) | ||
240 | } | ||
241 | return sendfile(outfd, infd, offset, count) | ||
242 | } | ||
243 | |||
237 | /* | 244 | /* |
238 | * Exposed directly | 245 | * Exposed directly |
239 | */ | 246 | */ |
@@ -248,11 +255,13 @@ func Uname(uname *Utsname) error { | |||
248 | //sys Dup(fd int) (nfd int, err error) | 255 | //sys Dup(fd int) (nfd int, err error) |
249 | //sys Dup2(from int, to int) (err error) | 256 | //sys Dup2(from int, to int) (err error) |
250 | //sys Exit(code int) | 257 | //sys Exit(code int) |
258 | //sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error) | ||
251 | //sys Fchdir(fd int) (err error) | 259 | //sys Fchdir(fd int) (err error) |
252 | //sys Fchflags(fd int, flags int) (err error) | 260 | //sys Fchflags(fd int, flags int) (err error) |
253 | //sys Fchmod(fd int, mode uint32) (err error) | 261 | //sys Fchmod(fd int, mode uint32) (err error) |
254 | //sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) | 262 | //sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) |
255 | //sys Fchown(fd int, uid int, gid int) (err error) | 263 | //sys Fchown(fd int, uid int, gid int) (err error) |
264 | //sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) | ||
256 | //sys Flock(fd int, how int) (err error) | 265 | //sys Flock(fd int, how int) (err error) |
257 | //sys Fpathconf(fd int, name int) (val int, err error) | 266 | //sys Fpathconf(fd int, name int) (val int, err error) |
258 | //sys Fstat(fd int, stat *Stat_t) (err error) | 267 | //sys Fstat(fd int, stat *Stat_t) (err error) |
@@ -280,11 +289,14 @@ func Uname(uname *Utsname) error { | |||
280 | //sys Kqueue() (fd int, err error) | 289 | //sys Kqueue() (fd int, err error) |
281 | //sys Lchown(path string, uid int, gid int) (err error) | 290 | //sys Lchown(path string, uid int, gid int) (err error) |
282 | //sys Link(path string, link string) (err error) | 291 | //sys Link(path string, link string) (err error) |
292 | //sys Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) | ||
283 | //sys Listen(s int, backlog int) (err error) | 293 | //sys Listen(s int, backlog int) (err error) |
284 | //sys Lstat(path string, stat *Stat_t) (err error) | 294 | //sys Lstat(path string, stat *Stat_t) (err error) |
285 | //sys Mkdir(path string, mode uint32) (err error) | 295 | //sys Mkdir(path string, mode uint32) (err error) |
296 | //sys Mkdirat(dirfd int, path string, mode uint32) (err error) | ||
286 | //sys Mkfifo(path string, mode uint32) (err error) | 297 | //sys Mkfifo(path string, mode uint32) (err error) |
287 | //sys Mknod(path string, mode uint32, dev int) (err error) | 298 | //sys Mknod(path string, mode uint32, dev int) (err error) |
299 | //sys Mknodat(fd int, path string, mode uint32, dev int) (err error) | ||
288 | //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) | 300 | //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) |
289 | //sys Open(path string, mode int, perm uint32) (fd int, err error) | 301 | //sys Open(path string, mode int, perm uint32) (fd int, err error) |
290 | //sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) | 302 | //sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) |
@@ -292,6 +304,7 @@ func Uname(uname *Utsname) error { | |||
292 | //sys read(fd int, p []byte) (n int, err error) | 304 | //sys read(fd int, p []byte) (n int, err error) |
293 | //sys Readlink(path string, buf []byte) (n int, err error) | 305 | //sys Readlink(path string, buf []byte) (n int, err error) |
294 | //sys Rename(from string, to string) (err error) | 306 | //sys Rename(from string, to string) (err error) |
307 | //sys Renameat(fromfd int, from string, tofd int, to string) (err error) | ||
295 | //sys Revoke(path string) (err error) | 308 | //sys Revoke(path string) (err error) |
296 | //sys Rmdir(path string) (err error) | 309 | //sys Rmdir(path string) (err error) |
297 | //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK | 310 | //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK |
@@ -313,11 +326,13 @@ func Uname(uname *Utsname) error { | |||
313 | //sys Stat(path string, stat *Stat_t) (err error) | 326 | //sys Stat(path string, stat *Stat_t) (err error) |
314 | //sys Statfs(path string, stat *Statfs_t) (err error) | 327 | //sys Statfs(path string, stat *Statfs_t) (err error) |
315 | //sys Symlink(path string, link string) (err error) | 328 | //sys Symlink(path string, link string) (err error) |
329 | //sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error) | ||
316 | //sys Sync() (err error) | 330 | //sys Sync() (err error) |
317 | //sys Truncate(path string, length int64) (err error) | 331 | //sys Truncate(path string, length int64) (err error) |
318 | //sys Umask(newmask int) (oldmask int) | 332 | //sys Umask(newmask int) (oldmask int) |
319 | //sys Undelete(path string) (err error) | 333 | //sys Undelete(path string) (err error) |
320 | //sys Unlink(path string) (err error) | 334 | //sys Unlink(path string) (err error) |
335 | //sys Unlinkat(dirfd int, path string, flags int) (err error) | ||
321 | //sys Unmount(path string, flags int) (err error) | 336 | //sys Unmount(path string, flags int) (err error) |
322 | //sys write(fd int, p []byte) (n int, err error) | 337 | //sys write(fd int, p []byte) (n int, err error) |
323 | //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) | 338 | //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) |