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_arm64.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_arm64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go | 121 |
1 files changed, 100 insertions, 21 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go index 41f2d0c..ad9820b 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go | |||
@@ -1,4 +1,4 @@ | |||
1 | // mksyscall.pl -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go | 1 | // go run mksyscall.go -tags linux,arm64 syscall_linux.go syscall_linux_arm64.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,arm64 | 4 | // +build linux,arm64 |
@@ -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(dirFd), uintptr(unsafe.Pointer(pathname)), 0) | ||
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 EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { | 1708 | func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { |
1665 | var _p0 unsafe.Pointer | 1709 | var _p0 unsafe.Pointer |
1666 | if len(events) > 0 { | 1710 | if len(events) > 0 { |
@@ -1829,6 +1873,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) { | |||
1829 | 1873 | ||
1830 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1874 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1831 | 1875 | ||
1876 | func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { | ||
1877 | var _p0 *byte | ||
1878 | _p0, err = BytePtrFromString(oldpath) | ||
1879 | if err != nil { | ||
1880 | return | ||
1881 | } | ||
1882 | var _p1 *byte | ||
1883 | _p1, err = BytePtrFromString(newpath) | ||
1884 | if err != nil { | ||
1885 | return | ||
1886 | } | ||
1887 | _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) | ||
1888 | if e1 != 0 { | ||
1889 | err = errnoErr(e1) | ||
1890 | } | ||
1891 | return | ||
1892 | } | ||
1893 | |||
1894 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1895 | |||
1832 | func Seek(fd int, offset int64, whence int) (off int64, err error) { | 1896 | func Seek(fd int, offset int64, whence int) (off int64, err error) { |
1833 | r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence)) | 1897 | r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence)) |
1834 | off = int64(r0) | 1898 | off = int64(r0) |
@@ -2189,3 +2253,18 @@ func pipe2(p *[2]_C_int, flags int) (err error) { | |||
2189 | } | 2253 | } |
2190 | return | 2254 | return |
2191 | } | 2255 | } |
2256 | |||
2257 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
2258 | |||
2259 | func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) { | ||
2260 | var _p0 *byte | ||
2261 | _p0, err = BytePtrFromString(cmdline) | ||
2262 | if err != nil { | ||
2263 | return | ||
2264 | } | ||
2265 | _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) | ||
2266 | if e1 != 0 { | ||
2267 | err = errnoErr(e1) | ||
2268 | } | ||
2269 | return | ||
2270 | } | ||