- 29 Jan, 2019 1 commit
-
-
Tobias Klauser authored
The zsysnum_{freebsd,netbsd}_arm64.go files were generated before mksysnum was converted to Go in CL 152677. Regenerate them to adjust the comment specifying the command used for generation. Change-Id: I8f00249848fe20e388f255e9e615da1e0727c140 Reviewed-on: https://go-review.googlesource.com/c/159778 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 24 Jan, 2019 1 commit
-
-
Tobias Klauser authored
It shouldn't make a difference for generating types and consts, but let's use the glibc release branch anyway. Fixes golang/go#29873 Change-Id: I15a3df250f5ae6181b2d036a10e0523ebe44ac3f Reviewed-on: https://go-review.googlesource.com/c/158997Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 23 Jan, 2019 1 commit
-
-
Visweswara R authored
Port mksyscall_aix_ppc64.pl Perl script to mksyscall_aix_ppc64.go. mkall.sh script is modified to run mksyscall.go. Running mkall.sh does not generate any git diff besides the command name in comments of generated files. Updates golang/go#27779 Change-Id: Ie888c0df470dcfc75034faa12cf3422b2d426629 Reviewed-on: https://go-review.googlesource.com/c/158699 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
- 22 Jan, 2019 1 commit
-
-
Tobias Klauser authored
Also add additional packet timestamping constants and types defined in the same header. Change-Id: I4280f925b46e229f4c3a83a7fee4612592314016 Reviewed-on: https://go-review.googlesource.com/c/158761 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 21 Jan, 2019 1 commit
-
-
Maya Rashish authored
This isn't a real generation, it's mostly a copy of the amd64 files, due to difficulties in generation. There should be little to no differences between netbsd 64bit archs. Change-Id: I1c7b25cfef87220c827018e73695e5ca08987156 GitHub-Last-Rev: 043207b2c25fbfe959e66bddc238d5b2f053a04f GitHub-Pull-Request: golang/sys#27 Reviewed-on: https://go-review.googlesource.com/c/155738Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 16 Jan, 2019 3 commits
-
-
Tobias Klauser authored
On linux/riscv64, char defaults to unsigned, so explicitly make RawSockaddrUnix.Path signed. Patch by Ryan O'Leary. Updates golang/go#27532 Change-Id: If99a3953462ad98f61d8fafcda3ebb71b44e6018 Reviewed-on: https://go-review.googlesource.com/c/157900 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Tobias Klauser authored
On linux/riscv64, the renameat syscall no longer exists and has been superseded by renameat2. Use Renameat2 to implement Renameat on linux/riscv64. Based on a patch by Ryan O'Leary. Updates golang/go#27532 Change-Id: I7c60c7f824750408265f67397b8ac1fa7226f425 Reviewed-on: https://go-review.googlesource.com/c/157899 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Tobias Klauser authored
Also add a test now that all unices have Renameat. Change-Id: I9098662569e9910122dc686559bbd04be06328fa Reviewed-on: https://go-review.googlesource.com/c/157898 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 15 Jan, 2019 1 commit
-
-
Tobias Klauser authored
Also add the SFD_* constants and SignalfdSiginfo type. Change-Id: I3415c212b85c9d5a940ba2bf70f43739a2630d78 Reviewed-on: https://go-review.googlesource.com/c/157897 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 14 Jan, 2019 1 commit
-
-
Sebastian Schmidt authored
This adds the ClockNanosleep syscall and the TIMER_* constants; currently only TIMER_ABSTIME for specifying an absolute timestamp. Change-Id: Ic8d857eb92818529aadab569cd8646a19bb9c055 Reviewed-on: https://go-review.googlesource.com/c/157658 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
- 09 Jan, 2019 1 commit
-
-
Tobias Klauser authored
Use the https:// URLs to get syscalls.master for freebsd, openbsd and dragonfly. For netbsd, keep using the http:// URL since HTTPS is not supported. Change-Id: Ibcbd19d5e3b4585552ea65dcdc742c2e7bfce944 Reviewed-on: https://go-review.googlesource.com/c/157057 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 08 Jan, 2019 1 commit
-
-
Visweswara R authored
Port mksyscall_aix_ppc.pl Perl script to mksyscall_aix_ppc.go. mkall.sh script is modified to run mksyscall.go. Running mkall.sh does not generate any git diff besides the command name in comments of generated files. Updates golang/go#27779 Change-Id: I57b0e5f9fe44dadd96d0e512046bb63e8e1b9f66 Reviewed-on: https://go-review.googlesource.com/c/156778Reviewed-by: Clément Chigot <clement.chigot@atos.net> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 07 Jan, 2019 2 commits
-
-
Carlos Eduardo Seo authored
Port from Go internal/cpu. Fixes golang/go#25185 Change-Id: Id3cac18da6ffec9d10df755c4032ce3068ab634d Reviewed-on: https://go-review.googlesource.com/c/152938Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Visweswara R authored
Modify unix/mksyscall.go to support plan9. This does not generate any git diff besides the command name in comments of generated files and addition of +build tags. Updates golang/go#27779 Change-Id: I359a80d1c08837d92a7095e5235867c29a2d2a60 Reviewed-on: https://go-review.googlesource.com/c/156157 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
- 06 Jan, 2019 1 commit
-
-
Keith Randall authored
Missed this one. Update golang/go#17490. Change-Id: I5ab2197f9981b712b37d3060f72209bebcadf291 Reviewed-on: https://go-review.googlesource.com/c/156346 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 05 Jan, 2019 1 commit
-
-
Visweswara R authored
Update mksyscall.pl to skip generating calls to "use". See issue https://golang.org/issue/16607 and CL https://golang.org/cl/36616 Change-Id: Id36614fce5d98a8538edf4f4a7276e650b99b839 Reviewed-on: https://go-review.googlesource.com/c/156437Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 02 Jan, 2019 2 commits
-
-
Tobias Klauser authored
Change-Id: Iadc92b5afd18a5c1df0bc42b0d6f52f0b768b47a Reviewed-on: https://go-review.googlesource.com/c/155979 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Tobias Klauser authored
This wasn't actually generated on freebsd/arm64 yet. It's mostly a copy of the amd64 files for now. Updates golang/go#24715 Change-Id: If24c3c5803a4708f0b26d738f690cbea1694ca88 Reviewed-on: https://go-review.googlesource.com/c/155978 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 28 Dec, 2018 3 commits
-
-
Anthony Fok authored
The stat structure on linux/mips64x differ between C library and the kernel, as described in the stat(2) man page. Fstat, Lstat and Stat on linux/mips64x already converts the stat structure using a fillStat_t function, very similar to __xstat_conv in GLIBC. Doing the same for Fstatat before calling SYS_NEWFSTATAT fixes the "Fstatat: returned stat does not match Stat/Lstat" error in TestFstatat. Fixes golang/go#29401 Change-Id: I0b2a7b274acc3c7c9fc7ae2afe722dd6225da383 Reviewed-on: https://go-review.googlesource.com/c/155747Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
Aleksa Sarai authored
Previously the +build line was taken as a package comment, due to how Go handles cases like the following: // +build <foo> package foo And thus caused build failures because of package name conflict issues. Fixes: https://golang.org/cl/152677 Change-Id: I7360ee100a739b00beaa1337b0408bb06fa240a6 GitHub-Last-Rev: b67a58691f3a5be12f2c5c510fbb4bd95fdd6e05 GitHub-Pull-Request: golang/sys#28 Reviewed-on: https://go-review.googlesource.com/c/155748Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
Visweswara R authored
Port mksysnum_{(open|net|free)bsd,dragonfly,darwin}.pl Perl scripts to mksysnum.go. mkall.sh script is modified to run mksysnum.go. Running ./mkall.sh generates no git diff besides command name and function prototype in comments of generated files. Updates golang/go#27779 Change-Id: I534734a9c7fda186ca133ba19e14481e55832be1 Reviewed-on: https://go-review.googlesource.com/c/152677Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
- 21 Dec, 2018 5 commits
-
-
Tobias Klauser authored
With cgo supporting sparc64 as of CL 102555 and CL 132155, the Docker based build system can be used to generate file for linux/sparc64 as well. Updates golang/go#15282 Change-Id: I109e55f39d3229b24b0029c42074e439c6c54dc8 Reviewed-on: https://go-review.googlesource.com/c/102655 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
itchyny authored
Fix a compile error due to unused import introduced by CL 154663. Change-Id: I2a732380c35cd98dfff36289f5d72fd7d7222205 GitHub-Last-Rev: 5c7065d26c8bf85d5dd7dc74f1631ab3532f69a9 GitHub-Pull-Request: golang/sys#26 Reviewed-on: https://go-review.googlesource.com/c/155460Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Keith Randall authored
Change-Id: Iab98581ade90ffb6c9faa29d4a45558498fff82a Reviewed-on: https://go-review.googlesource.com/c/155398Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Keith Randall authored
Make 1.11 the explicitly named case, and 1.12 the default. Change-Id: Ic3674860eb9e8a5bb1cf1da12c5ac583cc0b0633 Reviewed-on: https://go-review.googlesource.com/c/155397Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Keith Randall authored
There wasn't one. I was mucking around with the Sendfile internals in CL 154663 so I need one to make sure I didn't break anything. Change-Id: I38b25de4995831680fdac440dfa7f26542d2624f Reviewed-on: https://go-review.googlesource.com/c/154664 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 20 Dec, 2018 9 commits
-
-
Alberto Donizetti authored
Change mode of mksysnum.go to 644. I also checked all the other files with 755 mode, to verify that no other Go file has this issue. After this change, only .sh and .pl files are executable: $ git ls-files -s * | grep 100755 100755 9f73c60660b8978be4cc7041362dc8c220c71bd7 0 plan9/mkall.sh 100755 85309c4a5ba73b0d05d53c6c262eeaf8d1038f5b 0 plan9/mkerrors.sh 100755 252e89e14d9cbd083ce61e52f8dd34a62e5fc828 0 plan9/mksyscall.pl 100755 3c3ab05810ee1203c0d578654dc3069587ba4e94 0 plan9/mksysnum_plan9.sh 100755 f8dab7511d90d51fbd1470a4b3e718cc559cf7f4 0 unix/mkall.sh 100755 955dd50f9af178321c881fe1fd5b5f95726dd28c 0 unix/mkerrors.sh 100755 c44de8d310ef46c084ed38cdaffe74dffbbcbbd5 0 unix/mksyscall_aix_ppc.pl 100755 53df26bb93acbd6b9841e36ac47ef73f4654b7ad 0 unix/mksyscall_aix_ppc64.pl 100755 a354df5a6bfd678cb722ccd7ed0795f7c94ac4c2 0 unix/mksyscall_solaris.pl 100755 20632e14608e37ba2ff7c5b3f467009cf315b51a 0 unix/mksysctl_openbsd.pl 100755 5453c53b192319c95d47c672a40d7a73f626105f 0 unix/mksysnum_darwin.pl 100755 6804f41216e732851470c89cb2ae1c552e5515cd 0 unix/mksysnum_dragonfly.pl 100755 198993d0954d65da7ed143d8edd9bd12117ac697 0 unix/mksysnum_freebsd.pl 100755 85988b140b9d843c104fe6a2a9f921eab6abcb03 0 unix/mksysnum_netbsd.pl 100755 84edf60ca12d90b0a6a080947b1a08fb7b6c3b20 0 unix/mksysnum_openbsd.pl Fixes golang/go#29369 Change-Id: I66eae4cec07806ea6289e229819aef8dbbad9335 Reviewed-on: https://go-review.googlesource.com/c/155417Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
Keith Randall authored
Update golang/go#17490 Change-Id: Iaec54b8ffda1a24d4c8b5671185d570fb8683155 Reviewed-on: https://go-review.googlesource.com/c/154663Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Keith Randall authored
Update golang/go#17490 Change-Id: I55ea10ce2eb5fb1c0518a57900e78e5f0a29b893 Reviewed-on: https://go-review.googlesource.com/c/154662Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Keith Randall authored
Update golang/go#17490 Change-Id: I29feed5ddea976b39bd4c43bd1ff5942f47df083 Reviewed-on: https://go-review.googlesource.com/c/154661Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Keith Randall authored
Use libc version instead. Update golang/go#17490 Change-Id: Ibcedccb9715961904d12fc85f69a7139b6c26658 Reviewed-on: https://go-review.googlesource.com/c/154660Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Keith Randall authored
This system call doesn't exist on iOS. Update golang/go#28984 Change-Id: I92eb6fd3eb263863a31338bc18c9826a2242434b Reviewed-on: https://go-review.googlesource.com/c/154659Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Keith Randall authored
Parallel to CL 151938 for package x/sys/unix instead of syscall. iOS needs to use these functions without the "64" postfix. (The functions do exist, but the App Store bans their use.) Updates golang/go#28984 Change-Id: I6b82950700cc8a1afca612844b05fa007574e008 Reviewed-on: https://go-review.googlesource.com/c/154658Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Keith Randall authored
Call into libSystem (Darwin's libc equivalent) to do system calls. Raw syscalls are not a supported ABI on Darwin, they want us to use libSystem calls instead. The stdlib has already been converted to this new regime. This package is vendored into the stdlib, so we need to fix it also, then vendor it in again. Because this package isn't tied to a Go release, we need to keep the old code around and use the new code only for 1.12 and up. Update golang/go#17490 Change-Id: Idbcacff096b5bfeac871aa75dfd971570ac93322 Reviewed-on: https://go-review.googlesource.com/c/154179Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Tobias Klauser authored
The removed paddings are expected behavior resulting from CL 150602. Change-Id: I2c80405e20f92cca4890230c6f0644b724a8076e Reviewed-on: https://go-review.googlesource.com/c/155257 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 18 Dec, 2018 1 commit
-
-
Jordan Rhee authored
Use wevtutil.exe to query event log instead of powershell's Get-EventLog command, which is not available on Windows IoT Core. Updates golang/go#26148 Change-Id: Idc16d0b18d2826730d2b4062388b2a764c4886c6 Reviewed-on: https://go-review.googlesource.com/c/154817 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 17 Dec, 2018 1 commit
-
-
Jordan Rhee authored
pdh.dll is not available on Windows IoT core. Use netevent.dll instead. Update golang/go#26148 Change-Id: I80c299ad030944954d5d7d182d91dc15e71341f9 Reviewed-on: https://go-review.googlesource.com/c/154560Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 13 Dec, 2018 3 commits
-
-
Tobias Klauser authored
AIX doesn't provide a flock() syscall, it was previously emulated in package syscall by using fcntl. This emulation was removed in CL 152397. Since unix.Flock wraps syscall.Flock, the build currently fails on aix without this change. Change-Id: Ie887619cd64ae009ea43f00c74e450a5b8f998ac Reviewed-on: https://go-review.googlesource.com/c/153938 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Clément Chigot <clement.chigot@atos.net> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Tobias Klauser authored
Use the arm_sync_file_range to implement SyncFileRange. This is an alias for sync_file_range2 syscall which is already used to implement SyncFileRange on ppc64x. These have the order of the flags and offset arguments reversed in order to fit the syscall arguments within 6 registers. For more information see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=edd5cd4a9424f22b0fa08bef5e299d41befd5622 This makes TestSyncFileRange build and pass on linux/arm. Change-Id: I1316328ebcf550a3fb70f9ce5ebf54d8bcaa932c Reviewed-on: https://go-review.googlesource.com/c/153939 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Tobias Klauser authored
runtime.GOOS and runtime.GOARCH are constants, thus all comparisons are evaluated at compile time. Follow-up for CL 153619 to make the code consistent with the syscall package, cf. CL 153837 Change-Id: I0520d88c1636c6ed2acad69fce85a28042eafe56 Reviewed-on: https://go-review.googlesource.com/c/153937 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Joel Sing <joel@sing.id.au> TryBot-Result: Gobot Gobot <gobot@golang.org>
-