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_netbsd_arm.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_netbsd_arm.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go | 159 |
1 files changed, 158 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go index 2ca54f0..6ec3143 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go | |||
@@ -1,4 +1,4 @@ | |||
1 | // mksyscall.pl -l32 -netbsd -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go | 1 | // go run mksyscall.go -l32 -netbsd -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.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 netbsd,arm | 4 | // +build netbsd,arm |
@@ -865,6 +865,21 @@ func Fchown(fd int, uid int, gid int) (err error) { | |||
865 | 865 | ||
866 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 866 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
867 | 867 | ||
868 | func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { | ||
869 | var _p0 *byte | ||
870 | _p0, err = BytePtrFromString(path) | ||
871 | if err != nil { | ||
872 | return | ||
873 | } | ||
874 | _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) | ||
875 | if e1 != 0 { | ||
876 | err = errnoErr(e1) | ||
877 | } | ||
878 | return | ||
879 | } | ||
880 | |||
881 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
882 | |||
868 | func Flock(fd int, how int) (err error) { | 883 | func Flock(fd int, how int) (err error) { |
869 | _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) | 884 | _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) |
870 | if e1 != 0 { | 885 | if e1 != 0 { |
@@ -1114,6 +1129,26 @@ func Link(path string, link string) (err error) { | |||
1114 | 1129 | ||
1115 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1130 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1116 | 1131 | ||
1132 | func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) { | ||
1133 | var _p0 *byte | ||
1134 | _p0, err = BytePtrFromString(path) | ||
1135 | if err != nil { | ||
1136 | return | ||
1137 | } | ||
1138 | var _p1 *byte | ||
1139 | _p1, err = BytePtrFromString(link) | ||
1140 | if err != nil { | ||
1141 | return | ||
1142 | } | ||
1143 | _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) | ||
1144 | if e1 != 0 { | ||
1145 | err = errnoErr(e1) | ||
1146 | } | ||
1147 | return | ||
1148 | } | ||
1149 | |||
1150 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1151 | |||
1117 | func Listen(s int, backlog int) (err error) { | 1152 | func Listen(s int, backlog int) (err error) { |
1118 | _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0) | 1153 | _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0) |
1119 | if e1 != 0 { | 1154 | if e1 != 0 { |
@@ -1154,6 +1189,21 @@ func Mkdir(path string, mode uint32) (err error) { | |||
1154 | 1189 | ||
1155 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1190 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1156 | 1191 | ||
1192 | func Mkdirat(dirfd int, path string, mode uint32) (err error) { | ||
1193 | var _p0 *byte | ||
1194 | _p0, err = BytePtrFromString(path) | ||
1195 | if err != nil { | ||
1196 | return | ||
1197 | } | ||
1198 | _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) | ||
1199 | if e1 != 0 { | ||
1200 | err = errnoErr(e1) | ||
1201 | } | ||
1202 | return | ||
1203 | } | ||
1204 | |||
1205 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1206 | |||
1157 | func Mkfifo(path string, mode uint32) (err error) { | 1207 | func Mkfifo(path string, mode uint32) (err error) { |
1158 | var _p0 *byte | 1208 | var _p0 *byte |
1159 | _p0, err = BytePtrFromString(path) | 1209 | _p0, err = BytePtrFromString(path) |
@@ -1169,6 +1219,21 @@ func Mkfifo(path string, mode uint32) (err error) { | |||
1169 | 1219 | ||
1170 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1220 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1171 | 1221 | ||
1222 | func Mkfifoat(dirfd int, path string, mode uint32) (err error) { | ||
1223 | var _p0 *byte | ||
1224 | _p0, err = BytePtrFromString(path) | ||
1225 | if err != nil { | ||
1226 | return | ||
1227 | } | ||
1228 | _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) | ||
1229 | if e1 != 0 { | ||
1230 | err = errnoErr(e1) | ||
1231 | } | ||
1232 | return | ||
1233 | } | ||
1234 | |||
1235 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1236 | |||
1172 | func Mknod(path string, mode uint32, dev int) (err error) { | 1237 | func Mknod(path string, mode uint32, dev int) (err error) { |
1173 | var _p0 *byte | 1238 | var _p0 *byte |
1174 | _p0, err = BytePtrFromString(path) | 1239 | _p0, err = BytePtrFromString(path) |
@@ -1184,6 +1249,21 @@ func Mknod(path string, mode uint32, dev int) (err error) { | |||
1184 | 1249 | ||
1185 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1250 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1186 | 1251 | ||
1252 | func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { | ||
1253 | var _p0 *byte | ||
1254 | _p0, err = BytePtrFromString(path) | ||
1255 | if err != nil { | ||
1256 | return | ||
1257 | } | ||
1258 | _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) | ||
1259 | if e1 != 0 { | ||
1260 | err = errnoErr(e1) | ||
1261 | } | ||
1262 | return | ||
1263 | } | ||
1264 | |||
1265 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1266 | |||
1187 | func Nanosleep(time *Timespec, leftover *Timespec) (err error) { | 1267 | func Nanosleep(time *Timespec, leftover *Timespec) (err error) { |
1188 | _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) | 1268 | _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) |
1189 | if e1 != 0 { | 1269 | if e1 != 0 { |
@@ -1315,6 +1395,28 @@ func Readlink(path string, buf []byte) (n int, err error) { | |||
1315 | 1395 | ||
1316 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1396 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1317 | 1397 | ||
1398 | func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { | ||
1399 | var _p0 *byte | ||
1400 | _p0, err = BytePtrFromString(path) | ||
1401 | if err != nil { | ||
1402 | return | ||
1403 | } | ||
1404 | var _p1 unsafe.Pointer | ||
1405 | if len(buf) > 0 { | ||
1406 | _p1 = unsafe.Pointer(&buf[0]) | ||
1407 | } else { | ||
1408 | _p1 = unsafe.Pointer(&_zero) | ||
1409 | } | ||
1410 | r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) | ||
1411 | n = int(r0) | ||
1412 | if e1 != 0 { | ||
1413 | err = errnoErr(e1) | ||
1414 | } | ||
1415 | return | ||
1416 | } | ||
1417 | |||
1418 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1419 | |||
1318 | func Rename(from string, to string) (err error) { | 1420 | func Rename(from string, to string) (err error) { |
1319 | var _p0 *byte | 1421 | var _p0 *byte |
1320 | _p0, err = BytePtrFromString(from) | 1422 | _p0, err = BytePtrFromString(from) |
@@ -1335,6 +1437,26 @@ func Rename(from string, to string) (err error) { | |||
1335 | 1437 | ||
1336 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1438 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1337 | 1439 | ||
1440 | func Renameat(fromfd int, from string, tofd int, to string) (err error) { | ||
1441 | var _p0 *byte | ||
1442 | _p0, err = BytePtrFromString(from) | ||
1443 | if err != nil { | ||
1444 | return | ||
1445 | } | ||
1446 | var _p1 *byte | ||
1447 | _p1, err = BytePtrFromString(to) | ||
1448 | if err != nil { | ||
1449 | return | ||
1450 | } | ||
1451 | _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) | ||
1452 | if e1 != 0 { | ||
1453 | err = errnoErr(e1) | ||
1454 | } | ||
1455 | return | ||
1456 | } | ||
1457 | |||
1458 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1459 | |||
1338 | func Revoke(path string) (err error) { | 1460 | func Revoke(path string) (err error) { |
1339 | var _p0 *byte | 1461 | var _p0 *byte |
1340 | _p0, err = BytePtrFromString(path) | 1462 | _p0, err = BytePtrFromString(path) |
@@ -1532,6 +1654,26 @@ func Symlink(path string, link string) (err error) { | |||
1532 | 1654 | ||
1533 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1655 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1534 | 1656 | ||
1657 | func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { | ||
1658 | var _p0 *byte | ||
1659 | _p0, err = BytePtrFromString(oldpath) | ||
1660 | if err != nil { | ||
1661 | return | ||
1662 | } | ||
1663 | var _p1 *byte | ||
1664 | _p1, err = BytePtrFromString(newpath) | ||
1665 | if err != nil { | ||
1666 | return | ||
1667 | } | ||
1668 | _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) | ||
1669 | if e1 != 0 { | ||
1670 | err = errnoErr(e1) | ||
1671 | } | ||
1672 | return | ||
1673 | } | ||
1674 | |||
1675 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1676 | |||
1535 | func Sync() (err error) { | 1677 | func Sync() (err error) { |
1536 | _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) | 1678 | _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) |
1537 | if e1 != 0 { | 1679 | if e1 != 0 { |
@@ -1580,6 +1722,21 @@ func Unlink(path string) (err error) { | |||
1580 | 1722 | ||
1581 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | 1723 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
1582 | 1724 | ||
1725 | func Unlinkat(dirfd int, path string, flags int) (err error) { | ||
1726 | var _p0 *byte | ||
1727 | _p0, err = BytePtrFromString(path) | ||
1728 | if err != nil { | ||
1729 | return | ||
1730 | } | ||
1731 | _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) | ||
1732 | if e1 != 0 { | ||
1733 | err = errnoErr(e1) | ||
1734 | } | ||
1735 | return | ||
1736 | } | ||
1737 | |||
1738 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||
1739 | |||
1583 | func Unmount(path string, flags int) (err error) { | 1740 | func Unmount(path string, flags int) (err error) { |
1584 | var _p0 *byte | 1741 | var _p0 *byte |
1585 | _p0, err = BytePtrFromString(path) | 1742 | _p0, err = BytePtrFromString(path) |