mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
43e60d72a8e2bd92ee98319ba9a384a0e9837c08
Make Madvice, Mlock, Mlockall, Mprotect, Msync, Munlock and Munlockall available equally on all BSD flavors. NetBSD was previously lacking SYS_MSYNC, so add it. Reorder the //sys function prototype alphabetically and clean up already implemented syscalls everywhere. Also add tests for Mprotect, Msync and Madvice - now that they're available on all unix platforms. Fixes golang/go#18513 Change-Id: I0eb502d72c7e991f191fb96225ef04e8297d8b8d Reviewed-on: https://go-review.googlesource.com/56172 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Languages
Go
85.8%
Assembly
12.3%
Shell
1.7%
C
0.1%