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_openbsd_amd64.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_openbsd_amd64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go | 159 |
1 files changed, 158 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go index 3d0bae4..30cba43 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go | |||
@@ -1,4 +1,4 @@ | |||
1 | // mksyscall.pl -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go | 1 | // go run mksyscall.go -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.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 openbsd,amd64 | 4 | // +build openbsd,amd64 |
@@ -650,6 +650,21 @@ func Fchown(fd int, uid int, gid int) (err error) { | |||
650 | 650 | ||
651 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 651 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
652 | 652 | ||
653 | func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { | ||
654 | var _p0 *byte | ||
655 | _p0, err = BytePtrFromString(path) | ||
656 | if err != nil { | ||
657 | return | ||
658 | } | ||
659 | _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) | ||
660 | if e1 != 0 { | ||
661 | err = errnoErr(e1) | ||
662 | } | ||
663 | return | ||
664 | } | ||
665 | |||
666 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
667 | |||
653 | func Flock(fd int, how int) (err error) { | 668 | func Flock(fd int, how int) (err error) { |
654 | _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) | 669 | _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) |
655 | if e1 != 0 { | 670 | if e1 != 0 { |
@@ -920,6 +935,26 @@ func Link(path string, link string) (err error) { | |||
920 | 935 | ||
921 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 936 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
922 | 937 | ||
938 | func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) { | ||
939 | var _p0 *byte | ||
940 | _p0, err = BytePtrFromString(path) | ||
941 | if err != nil { | ||
942 | return | ||
943 | } | ||
944 | var _p1 *byte | ||
945 | _p1, err = BytePtrFromString(link) | ||
946 | if err != nil { | ||
947 | return | ||
948 | } | ||
949 | _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) | ||
950 | if e1 != 0 { | ||
951 | err = errnoErr(e1) | ||
952 | } | ||
953 | return | ||
954 | } | ||
955 | |||
956 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
957 | |||
923 | func Listen(s int, backlog int) (err error) { | 958 | func Listen(s int, backlog int) (err error) { |
924 | _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0) | 959 | _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0) |
925 | if e1 != 0 { | 960 | if e1 != 0 { |
@@ -960,6 +995,21 @@ func Mkdir(path string, mode uint32) (err error) { | |||
960 | 995 | ||
961 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 996 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
962 | 997 | ||
998 | func Mkdirat(dirfd int, path string, mode uint32) (err error) { | ||
999 | var _p0 *byte | ||
1000 | _p0, err = BytePtrFromString(path) | ||
1001 | if err != nil { | ||
1002 | return | ||
1003 | } | ||
1004 | _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) | ||
1005 | if e1 != 0 { | ||
1006 | err = errnoErr(e1) | ||
1007 | } | ||
1008 | return | ||
1009 | } | ||
1010 | |||
1011 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1012 | |||
963 | func Mkfifo(path string, mode uint32) (err error) { | 1013 | func Mkfifo(path string, mode uint32) (err error) { |
964 | var _p0 *byte | 1014 | var _p0 *byte |
965 | _p0, err = BytePtrFromString(path) | 1015 | _p0, err = BytePtrFromString(path) |
@@ -975,6 +1025,21 @@ func Mkfifo(path string, mode uint32) (err error) { | |||
975 | 1025 | ||
976 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1026 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
977 | 1027 | ||
1028 | func Mkfifoat(dirfd int, path string, mode uint32) (err error) { | ||
1029 | var _p0 *byte | ||
1030 | _p0, err = BytePtrFromString(path) | ||
1031 | if err != nil { | ||
1032 | return | ||
1033 | } | ||
1034 | _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) | ||
1035 | if e1 != 0 { | ||
1036 | err = errnoErr(e1) | ||
1037 | } | ||
1038 | return | ||
1039 | } | ||
1040 | |||
1041 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1042 | |||
978 | func Mknod(path string, mode uint32, dev int) (err error) { | 1043 | func Mknod(path string, mode uint32, dev int) (err error) { |
979 | var _p0 *byte | 1044 | var _p0 *byte |
980 | _p0, err = BytePtrFromString(path) | 1045 | _p0, err = BytePtrFromString(path) |
@@ -990,6 +1055,21 @@ func Mknod(path string, mode uint32, dev int) (err error) { | |||
990 | 1055 | ||
991 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1056 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
992 | 1057 | ||
1058 | func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { | ||
1059 | var _p0 *byte | ||
1060 | _p0, err = BytePtrFromString(path) | ||
1061 | if err != nil { | ||
1062 | return | ||
1063 | } | ||
1064 | _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) | ||
1065 | if e1 != 0 { | ||
1066 | err = errnoErr(e1) | ||
1067 | } | ||
1068 | return | ||
1069 | } | ||
1070 | |||
1071 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1072 | |||
993 | func Nanosleep(time *Timespec, leftover *Timespec) (err error) { | 1073 | func Nanosleep(time *Timespec, leftover *Timespec) (err error) { |
994 | _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) | 1074 | _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) |
995 | if e1 != 0 { | 1075 | if e1 != 0 { |
@@ -1121,6 +1201,28 @@ func Readlink(path string, buf []byte) (n int, err error) { | |||
1121 | 1201 | ||
1122 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1202 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1123 | 1203 | ||
1204 | func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { | ||
1205 | var _p0 *byte | ||
1206 | _p0, err = BytePtrFromString(path) | ||
1207 | if err != nil { | ||
1208 | return | ||
1209 | } | ||
1210 | var _p1 unsafe.Pointer | ||
1211 | if len(buf) > 0 { | ||
1212 | _p1 = unsafe.Pointer(&buf[0]) | ||
1213 | } else { | ||
1214 | _p1 = unsafe.Pointer(&_zero) | ||
1215 | } | ||
1216 | r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) | ||
1217 | n = int(r0) | ||
1218 | if e1 != 0 { | ||
1219 | err = errnoErr(e1) | ||
1220 | } | ||
1221 | return | ||
1222 | } | ||
1223 | |||
1224 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1225 | |||
1124 | func Rename(from string, to string) (err error) { | 1226 | func Rename(from string, to string) (err error) { |
1125 | var _p0 *byte | 1227 | var _p0 *byte |
1126 | _p0, err = BytePtrFromString(from) | 1228 | _p0, err = BytePtrFromString(from) |
@@ -1141,6 +1243,26 @@ func Rename(from string, to string) (err error) { | |||
1141 | 1243 | ||
1142 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1244 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1143 | 1245 | ||
1246 | func Renameat(fromfd int, from string, tofd int, to string) (err error) { | ||
1247 | var _p0 *byte | ||
1248 | _p0, err = BytePtrFromString(from) | ||
1249 | if err != nil { | ||
1250 | return | ||
1251 | } | ||
1252 | var _p1 *byte | ||
1253 | _p1, err = BytePtrFromString(to) | ||
1254 | if err != nil { | ||
1255 | return | ||
1256 | } | ||
1257 | _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) | ||
1258 | if e1 != 0 { | ||
1259 | err = errnoErr(e1) | ||
1260 | } | ||
1261 | return | ||
1262 | } | ||
1263 | |||
1264 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1265 | |||
1144 | func Revoke(path string) (err error) { | 1266 | func Revoke(path string) (err error) { |
1145 | var _p0 *byte | 1267 | var _p0 *byte |
1146 | _p0, err = BytePtrFromString(path) | 1268 | _p0, err = BytePtrFromString(path) |
@@ -1398,6 +1520,26 @@ func Symlink(path string, link string) (err error) { | |||
1398 | 1520 | ||
1399 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1521 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1400 | 1522 | ||
1523 | func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { | ||
1524 | var _p0 *byte | ||
1525 | _p0, err = BytePtrFromString(oldpath) | ||
1526 | if err != nil { | ||
1527 | return | ||
1528 | } | ||
1529 | var _p1 *byte | ||
1530 | _p1, err = BytePtrFromString(newpath) | ||
1531 | if err != nil { | ||
1532 | return | ||
1533 | } | ||
1534 | _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) | ||
1535 | if e1 != 0 { | ||
1536 | err = errnoErr(e1) | ||
1537 | } | ||
1538 | return | ||
1539 | } | ||
1540 | |||
1541 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1542 | |||
1401 | func Sync() (err error) { | 1543 | func Sync() (err error) { |
1402 | _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) | 1544 | _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) |
1403 | if e1 != 0 { | 1545 | if e1 != 0 { |
@@ -1446,6 +1588,21 @@ func Unlink(path string) (err error) { | |||
1446 | 1588 | ||
1447 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1589 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1448 | 1590 | ||
1591 | func Unlinkat(dirfd int, path string, flags int) (err error) { | ||
1592 | var _p0 *byte | ||
1593 | _p0, err = BytePtrFromString(path) | ||
1594 | if err != nil { | ||
1595 | return | ||
1596 | } | ||
1597 | _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) | ||
1598 | if e1 != 0 { | ||
1599 | err = errnoErr(e1) | ||
1600 | } | ||
1601 | return | ||
1602 | } | ||
1603 | |||
1604 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1605 | |||
1449 | func Unmount(path string, flags int) (err error) { | 1606 | func Unmount(path string, flags int) (err error) { |
1450 | var _p0 *byte | 1607 | var _p0 *byte |
1451 | _p0, err = BytePtrFromString(path) | 1608 | _p0, err = BytePtrFromString(path) |