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/zsyscall_linux_386.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/zsyscall_linux_386.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_linux_386.go | 106 |
1 files changed, 85 insertions, 21 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go index cd94680..feb3c03 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go | |||
@@ -1,4 +1,4 @@ | |||
1 | // mksyscall.pl -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go | 1 | // go run mksyscall.go -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go |
2 | // Code generated by the command above; see README.md. DO NOT EDIT. | 2 | // Code generated by the command above; see README.md. DO NOT EDIT. |
3 | 3 | ||
4 | // +build linux,386 | 4 | // +build linux,386 |
@@ -14,6 +14,27 @@ var _ syscall.Errno | |||
14 | 14 | ||
15 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 15 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
16 | 16 | ||
17 | func FanotifyInit(flags uint, event_f_flags uint) (fd int, err error) { | ||
18 | r0, _, e1 := Syscall(SYS_FANOTIFY_INIT, uintptr(flags), uintptr(event_f_flags), 0) | ||
19 | fd = int(r0) | ||
20 | if e1 != 0 { | ||
21 | err = errnoErr(e1) | ||
22 | } | ||
23 | return | ||
24 | } | ||
25 | |||
26 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
27 | |||
28 | func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) { | ||
29 | _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(mask>>32), uintptr(dirFd), uintptr(unsafe.Pointer(pathname))) | ||
30 | if e1 != 0 { | ||
31 | err = errnoErr(e1) | ||
32 | } | ||
33 | return | ||
34 | } | ||
35 | |||
36 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
37 | |||
17 | func fchmodat(dirfd int, path string, mode uint32) (err error) { | 38 | func fchmodat(dirfd int, path string, mode uint32) (err error) { |
18 | var _p0 *byte | 39 | var _p0 *byte |
19 | _p0, err = BytePtrFromString(path) | 40 | _p0, err = BytePtrFromString(path) |
@@ -437,6 +458,16 @@ func ClockGettime(clockid int32, time *Timespec) (err error) { | |||
437 | 458 | ||
438 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 459 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
439 | 460 | ||
461 | func ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error) { | ||
462 | _, _, e1 := Syscall6(SYS_CLOCK_NANOSLEEP, uintptr(clockid), uintptr(flags), uintptr(unsafe.Pointer(request)), uintptr(unsafe.Pointer(remain)), 0, 0) | ||
463 | if e1 != 0 { | ||
464 | err = errnoErr(e1) | ||
465 | } | ||
466 | return | ||
467 | } | ||
468 | |||
469 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
470 | |||
440 | func Close(fd int) (err error) { | 471 | func Close(fd int) (err error) { |
441 | _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) | 472 | _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) |
442 | if e1 != 0 { | 473 | if e1 != 0 { |
@@ -1195,26 +1226,6 @@ func Removexattr(path string, attr string) (err error) { | |||
1195 | 1226 | ||
1196 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1227 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1197 | 1228 | ||
1198 | func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { | ||
1199 | var _p0 *byte | ||
1200 | _p0, err = BytePtrFromString(oldpath) | ||
1201 | if err != nil { | ||
1202 | return | ||
1203 | } | ||
1204 | var _p1 *byte | ||
1205 | _p1, err = BytePtrFromString(newpath) | ||
1206 | if err != nil { | ||
1207 | return | ||
1208 | } | ||
1209 | _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) | ||
1210 | if e1 != 0 { | ||
1211 | err = errnoErr(e1) | ||
1212 | } | ||
1213 | return | ||
1214 | } | ||
1215 | |||
1216 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1217 | |||
1218 | func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) { | 1229 | func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) { |
1219 | var _p0 *byte | 1230 | var _p0 *byte |
1220 | _p0, err = BytePtrFromString(oldpath) | 1231 | _p0, err = BytePtrFromString(oldpath) |
@@ -1370,6 +1381,13 @@ func Setxattr(path string, attr string, data []byte, flags int) (err error) { | |||
1370 | 1381 | ||
1371 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1382 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1372 | 1383 | ||
1384 | func Signalfd(fd int, mask *Sigset_t, flags int) { | ||
1385 | SyscallNoError(SYS_SIGNALFD4, uintptr(fd), uintptr(unsafe.Pointer(mask)), uintptr(flags)) | ||
1386 | return | ||
1387 | } | ||
1388 | |||
1389 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1390 | |||
1373 | func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) { | 1391 | func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) { |
1374 | var _p0 *byte | 1392 | var _p0 *byte |
1375 | _p0, err = BytePtrFromString(path) | 1393 | _p0, err = BytePtrFromString(path) |
@@ -1661,6 +1679,32 @@ func faccessat(dirfd int, path string, mode uint32) (err error) { | |||
1661 | 1679 | ||
1662 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1680 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1663 | 1681 | ||
1682 | func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) { | ||
1683 | var _p0 *byte | ||
1684 | _p0, err = BytePtrFromString(pathname) | ||
1685 | if err != nil { | ||
1686 | return | ||
1687 | } | ||
1688 | _, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0) | ||
1689 | if e1 != 0 { | ||
1690 | err = errnoErr(e1) | ||
1691 | } | ||
1692 | return | ||
1693 | } | ||
1694 | |||
1695 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1696 | |||
1697 | func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) { | ||
1698 | r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags)) | ||
1699 | fd = int(r0) | ||
1700 | if e1 != 0 { | ||
1701 | err = errnoErr(e1) | ||
1702 | } | ||
1703 | return | ||
1704 | } | ||
1705 | |||
1706 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1707 | |||
1664 | func pipe(p *[2]_C_int) (err error) { | 1708 | func pipe(p *[2]_C_int) (err error) { |
1665 | _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0) | 1709 | _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0) |
1666 | if e1 != 0 { | 1710 | if e1 != 0 { |
@@ -1901,6 +1945,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) { | |||
1901 | 1945 | ||
1902 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1946 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1903 | 1947 | ||
1948 | func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { | ||
1949 | var _p0 *byte | ||
1950 | _p0, err = BytePtrFromString(oldpath) | ||
1951 | if err != nil { | ||
1952 | return | ||
1953 | } | ||
1954 | var _p1 *byte | ||
1955 | _p1, err = BytePtrFromString(newpath) | ||
1956 | if err != nil { | ||
1957 | return | ||
1958 | } | ||
1959 | _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) | ||
1960 | if e1 != 0 { | ||
1961 | err = errnoErr(e1) | ||
1962 | } | ||
1963 | return | ||
1964 | } | ||
1965 | |||
1966 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1967 | |||
1904 | func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { | 1968 | func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { |
1905 | r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0) | 1969 | r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0) |
1906 | written = int(r0) | 1970 | written = int(r0) |