- 04 Mar, 2019 1 commit
-
-
Tobias Klauser authored
Also enable KexecFileLoad on linux/{arm64,riscv64} now that they have SYS_KEXEC_FILE_LOAD. Change-Id: I1c52d09a1a617794f2df697e4966c4c24a166611 Reviewed-on: https://go-review.googlesource.com/c/sys/+/164997 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 03 Mar, 2019 2 commits
-
-
Dominik Honnef authored
This teaches unix/mksyscall.go about mapping uint64 to syscall arguments, similar to existing handling of int64. Change-Id: I536b4b09bbf6a8e3016565a4a04d2b9d32cbc624 Reviewed-on: https://go-review.googlesource.com/c/164664Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
Shengjing Zhu authored
Fixes golang/go#28027 Change-Id: Idf8b554e0fd102fd8b2f2f2ea0fa47bf139303da Reviewed-on: https://go-review.googlesource.com/c/164778 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
- 02 Mar, 2019 2 commits
-
-
Alex Brainman authored
ctlHandler is passed to RegisterServiceCtrlHandlerEx as a callback function. But all ctlHandler parameters have to be uintptr aligned regardless of their type. Adjust ctlHandler parameters, so they are aligned accordingly. Also uncomment part of TestExample that verifies passing of ChangeRequest.Context. Fixes golang/go#25660 Change-Id: Ie96fa5c78b911ad9df6775f5c49e7f6d56464f6b Reviewed-on: https://go-review.googlesource.com/c/158698Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Alex Brainman authored
New Context field will be used in the following CL to test ctlHandler parameter alignments. Also adjust TestExample to pass hard coded Context value of 123456 to test service, and verify that correct value is logged. Final part of the test is commented out, and will be adjusted in the next CL. Updates golang/go#25660 Change-Id: Iad2896ae497ee1edc0d62655eaf08671ec2651c5 Reviewed-on: https://go-review.googlesource.com/c/158697 Run-TryBot: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 28 Feb, 2019 3 commits
-
-
Benny Siegert authored
This is the same change as CL 164458. netbsd-arm needs the same override to the alignment function as openbsd-arm. This fixes the TestPassFD failure. Update golang/go#24771 Change-Id: I9c6451feb11ec9810de9273b1324b0c23d7e6d11 Reviewed-on: https://go-review.googlesource.com/c/164497Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
Michael Munday authored
Add basic support for IBM Z (s390x) CPU feature (known as 'facilities') detection. Note that some of these features are mandatory when using the Go compiler (for example, ldisp and eimm) but aren't mandatory when using gccgo. Cryptographic function detection is not yet implemented for gccgo. Change-Id: Ic6494d0df0bc1c1ad1713c9ff11ae23fba03d215 Reviewed-on: https://go-review.googlesource.com/c/163003Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
On Android /proc/self/auxv is not readable, leading to a panic in init. Instead of panic'ing in this case, introduce the Initialized global bool to report whether the CPU features were initialized i.e. /proc/self/auxv was successfullly read. Fixes golang/go#30413 Change-Id: Ib520f202990614a76bceb0bf9d19a88eadd13e10 Reviewed-on: https://go-review.googlesource.com/c/164057Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 26 Feb, 2019 1 commit
-
-
Michael Matloob authored
This change adds a go.mod file to this repo, following the requirements stated in bcmills's comment here: https://golang.org/issue/28136#issuecomment-462971974. It's important to note that we will not be adding versions to the repo for now. This change does not add a go.sum because this repo has no dependencies. The change was generated by running "go mod init" and "go mod tidy" using Go 1.11.5 in the top-level directory of the repository. Updates golang/go#28136 Change-Id: If6945f4bb17f7c84b53445054140ce9389767d89 Reviewed-on: https://go-review.googlesource.com/c/162977 Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-
- 25 Feb, 2019 1 commit
-
-
Elias Naur authored
TestDup used a file descriptor without ensuring it was free, leading to rare crashes in the runtime netpoller when the victim fd was the polling descriptor. Updates golang/go#29423 Change-Id: Idc8b6b47f7e966e045f57f2028e7b6b79e0fb3f3 Reviewed-on: https://go-review.googlesource.com/c/163638Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
- 22 Feb, 2019 2 commits
-
-
Tobias Klauser authored
Change-Id: I06997987f2d54a1fbca098878a3bac473ec1bfc0 Reviewed-on: https://go-review.googlesource.com/c/163379 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
Add the SetsockoptCanRawFilter func and CanFilter type to allow kernel message filtering on AF_CAN sockets. Fixes golang/go#29638 Change-Id: I4042825527ba2bc9aeb8dbe70d1960a06b15c29e Reviewed-on: https://go-review.googlesource.com/c/163318 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 21 Feb, 2019 2 commits
-
-
Matt Layher authored
Adding this helper enables me to eliminate some nasty code which invokes unix.Syscall6 directly, and which has 32-bit shims for invoking setsockopt properly on 32-bit Linux. Change-Id: I53ef411e4c96cef557999261760cddc00df58d8a Reviewed-on: https://go-review.googlesource.com/c/163303 Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
Tobias Klauser authored
The current implementation for ppc64{,le} only supports linux (through HWCaps read from /proc/self/auxv) and fails to build e.g. on aix/ppc64. Change-Id: I5e1efe75c781fd08bc7bbe797df88295726ba62b Reviewed-on: https://go-review.googlesource.com/c/162798 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 20 Feb, 2019 1 commit
-
-
Bryan C. Mills authored
x/sys/unix is vendored into the standard library, and the commit hook for the standard library requires files to be gofmt-clean. Updates golang/go#26924 Change-Id: I22a994062bcdbebe8a1fe1ae0ed4606837f03079 Reviewed-on: https://go-review.googlesource.com/c/162990Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 19 Feb, 2019 2 commits
-
-
Bryan C. Mills authored
Updates golang/go#28387 Change-Id: Ibcdc3f9cb3dc43b86b7e7d3539ed592219e54aba Reviewed-on: https://go-review.googlesource.com/c/162987 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Michael Munday authored
These are an implementation detail and should not have been exported. This only affects Linux on platforms other than 386 and amd64. Fixes golang/go#30255. Change-Id: Ib23b42a7309fd6093b6b9d8b6628de222a3928be Reviewed-on: https://go-review.googlesource.com/c/163004 Run-TryBot: Michael Munday <mike.munday@ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
- 15 Feb, 2019 1 commit
-
-
Michael Munday authored
The words in auxval are encoded in native byte order. I haven't added a test. This fix will be tested when s390x support is added to the package. Change-Id: I276f833660e6906c319995798faf9054ffc69461 Reviewed-on: https://go-review.googlesource.com/c/162902 Run-TryBot: Michael Munday <mike.munday@ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
- 14 Feb, 2019 1 commit
-
-
Tobias Klauser authored
The current implementation for arm64 only supports linux (through HWCaps read from /proc/self/auxv) and fails to build e.g. on darwin/arm64. Fixes golang/go#30237 Change-Id: I9f32a285760795441a829b0a81b2d5aff04e2dc4 Reviewed-on: https://go-review.googlesource.com/c/162797 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 13 Feb, 2019 2 commits
-
-
Visweswara R authored
Update references to mksyscall*.pl and mksysnum*.pl Perl scripts in "README.md" with mksyscall*.go and mksysnum*.go Go programs. Updates golang/go#27779 Change-Id: Ide3f5d9894c91aa6103d6bbe5ec64a47c969daa7 Reviewed-on: https://go-review.googlesource.com/c/162278Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
Visweswara R authored
Port mksyscall_solaris.pl Perl script to mksyscall_solaris.go. mkall.sh script is modified to run mksyscall_solaris.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: I773c9732a882780400a06f578c00e455e133231b Reviewed-on: https://go-review.googlesource.com/c/162277 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
-
- 09 Feb, 2019 3 commits
-
-
Josh Bleecher Snyder authored
Updates golang/go#25633 Change-Id: I20ff2d0cda642fb7b155d3ae06499e8c0ef0a2b2 Reviewed-on: https://go-review.googlesource.com/c/161721 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Josh Bleecher Snyder authored
Change-Id: I77f491029a8f2e37ffbda3d0f50795287d6cd641 Reviewed-on: https://go-review.googlesource.com/c/161720 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Josh Bleecher Snyder authored
If you don't set GOOS and you try to regenerate the darwin files, it appears to succeed. However, because libc was not selected, it generates broken code. Change-Id: I20fb4f51dcc539a03b6c6ed03ce39b78d5987d41 Reviewed-on: https://go-review.googlesource.com/c/161719 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 04 Feb, 2019 2 commits
-
-
Tobias Klauser authored
Drop the manually defined *_XDP constants which were added to glibc. Install python3 instead of python because glibc's confugure script now requires at least 3.4. Change-Id: Ic19ff4d8aa4dbadeb5438e331ccafeafc2cc9925 Reviewed-on: https://go-review.googlesource.com/c/160957 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Jason A. Donenfeld authored
This is a very classic and highly useful Windows API that I'm surprised it's still not here. Change-Id: If54319099cd94dd727126c579dd5a681979321cd Reviewed-on: https://go-review.googlesource.com/c/160937 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-
- 03 Feb, 2019 1 commit
-
-
Visweswara R authored
Change mode of mksyscall_aix_ppc64.go to 644. Change-Id: Icebc0944a739b58111f5420ec2f0850b348f1fee Reviewed-on: https://go-review.googlesource.com/c/160918Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 01 Feb, 2019 2 commits
-
-
Tobias Klauser authored
Change-Id: I79c721d0f4fe097daf096dc7404675aa3048bf6a Reviewed-on: https://go-review.googlesource.com/c/160757 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Tobias Klauser authored
Change-Id: I2d0094d64ba12f888758aeebdb43aed353ddeeb9 Reviewed-on: https://go-review.googlesource.com/c/160577 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 30 Jan, 2019 1 commit
-
-
Tobias Klauser authored
Add IoctlGetRTCTime and IoctlSetRTCTime to get and set the RTC time via the RTC_RD_TIME and RTC_SET_TIME ioctls. Change-Id: I63190026be39746599c2cd7116603d4a1d5bd695 Reviewed-on: https://go-review.googlesource.com/c/160397 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 29 Jan, 2019 2 commits
-
-
two authored
Change-Id: I4e1facc318d87fdd2abca1de040fdcb25680339e GitHub-Last-Rev: bfebe235283dd12d07c69609011e47f155ccc008 GitHub-Pull-Request: golang/sys#30 Reviewed-on: https://go-review.googlesource.com/c/159597Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
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>
-