- 12 Sep, 2017 2 commits
-
-
Tobias Klauser authored
Follow CL 63090 and change the Makedev function on Darwin and *BSD to convert to uint64 before shifting/masking. This avoids a potential overflow. Change-Id: I5b566329695cc5edcf82f0ff2366033011b0625b Reviewed-on: https://go-review.googlesource.com/63112Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
Daniel Swarbrick reports the following go vet warning after CL 50550: .../dev_linux.go:38: (major & 0xfffff000) (32 bits) too small for shift of 32 Fix it by converting major and minor to uint64 before the bitwise-and. Change-Id: If37540be81f2c78a58fd5e5dcce7b770ce7b8afe Reviewed-on: https://go-review.googlesource.com/63090Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 09 Sep, 2017 1 commit
-
-
Tobias Klauser authored
Add Major, Minor and Mkdev functions for converting devices numbers to their major/minor components and vice versa. The functions follow the behavior of the macros defined in FreeBSD's sys/types.h header. However, the parameter and return types are changed to match the existing implementations of these functions. Because FreeBSD dynamically allocates major/minor device numbers through devfs at runtime, testing the conversion macros against well-known device numbers is not possible. Updates golang/go#8106 Change-Id: I9874e63f388cfc5c0d5cc47d4d0f6ccc489b28f2 Reviewed-on: https://go-review.googlesource.com/61631Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 08 Sep, 2017 1 commit
-
-
Tobias Klauser authored
Add Major, Minor and Mkdev functions for converting devices numbers to their major/minor components and vice versa. The functions follow the behavior of the macros defined in DragonFlyBSD's sys/types.h header. However, the parameter and return types are changed to match the existing implementations of these functions. Test the conversion macros with some well-known device numbers. Updates golang/go#8106 Change-Id: I84c128dff3108821caaa75dcec620cf5bdb1f32d Reviewed-on: https://go-review.googlesource.com/61630Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 07 Sep, 2017 2 commits
-
-
Joe Richey joerichey@google.com authored
In general, page size is not a function of the archetecture. This was addressed in the Go standard library here: https://go-review.googlesource.com/25051 This change simply defers to the standard library "syscall" package, which in turn defers to the runtime. This helps in addressing golang/go#10180 and also fixes a bug on ppc64. Currently, we return 65536 as the page size on ppc64, but the kernel supports 4k and 64k sizes, see here: http://elixir.free-electrons.com/linux/v4.13/source/arch/powerpc/include/asm/page.h#L24 Now that various page size calculations are not needed, various components are now dead code and can also be removed. This CL reverts: https://go-review.googlesource.com/14483 and part of: https://go-review.googlesource.com/30755 Change-Id: I9d7a2d96359054e0dca9c985b026c8072b2eeaf3 Reviewed-on: https://go-review.googlesource.com/62111Reviewed-by: Austin Clements <austin@google.com> Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Joe Richey joerichey@google.com authored
This change updates the Linux symbols to correspond to v4.13 of the kernel and v2.26 of glibc. To get everything building correctly, newer versions of the build tools are required. Instead of trying to get an Ubuntu 17.10 docker image working, we just add Artful sources to /etc/apt/sources.list to get a similar effect. Now that the kernel UAPI is updated, FS_MAX_KEY_SIZE and fscrypt_key no longer need to be manually declared, as they are now in the proper kernel headers. Change-Id: I5f14c99fd70b43dbb8b44e05f53e4e9f09c9a345 Reviewed-on: https://go-review.googlesource.com/61771Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 06 Sep, 2017 1 commit
-
-
Joe Richey joerichey@google.com authored
Bash should use "=" not "-eq" for equality comparison. Some incorrect comparison operators were missed in: https://go-review.googlesource.com/c/sys/+/41832 Change-Id: I110968287b7370870301b2fdd2a4ec188f623a39 Reviewed-on: https://go-review.googlesource.com/61770Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 05 Sep, 2017 1 commit
-
-
Joe Richey joerichey@google.com authored
Change https://go-review.googlesource.com/c/sys/+/56172 did not run ./mkall.sh after modifying syscall_linux.go. This change simply runs ./mkall.sh to correctly generate the modified files. Note that the previous change simply reordered a few functions, so the functions are simply reordered in the generated files. Change-Id: I2d819f9ca4ae0e59e67e42d04bb6e6513b3c6c45 Reviewed-on: https://go-review.googlesource.com/61750Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 01 Sep, 2017 2 commits
-
-
Tobias Klauser authored
Add Major, Minor and Mkdev functions for converting devices numbers to their major/minor components and vice versa. The functions follow the behavior of the macros defined in NetBSD's sys/types.h header. However, the parameter and return types are changed to match the existing implementations of these functions. Test the conversion macros with some well-known device numbers. Updates golang/go#8106 Change-Id: I536d6d2622f6fe9be3c1ed3beb266745fe4bfb6e Reviewed-on: https://go-review.googlesource.com/60970Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
Add Major, Minor and Mkdev functions for converting devices numbers to their major/minor components and vice versa. The functions follow the behavior of the macros defined in Darwin's sys/types.h header. However, the parameter and return types are changed to match the respective Linux implementation of these functions. Test the conversion macros with some well-known static device numbers for devices which should be present on any Darwin system. Updates golang/go#8106 Change-Id: I1862be64684cc1b5a53e15a883819571e368cb2b Reviewed-on: https://go-review.googlesource.com/60610Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 30 Aug, 2017 1 commit
-
-
Luca Bruno authored
This commit relaxes SendmsgN behavior of introducing a dummy 1-byte payload when sending ancillary-only messages. The fake payload is not needed for SOCK_DGRAM type sockets, and actually breaks interoperability with other fd-passing software (journald is one known example). This introduces an additional check to avoid injecting dummy payload in such case. Backport of https://go.googlesource.com/go/+/93da0b6e66f24c4c307e0df37ceb102a33306174 Full reference at https:/golang.org/issue/6476#issue-51285243 Change-Id: I7cf00a1c7cde75fe62e00b98ccba6ac8469b0493 Reviewed-on: https://go-review.googlesource.com/60190Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 29 Aug, 2017 1 commit
-
-
Matt Layher authored
Generic netlink is a generalized netlink family which enables a series of different communication channels to be multiplexed on a single netlink family. For more information, please see: https://lwn.net/Articles/208755/. Fixes golang/go#21682. Change-Id: I2095150e06471f4a0e1322fba669573aa8f0a9b1 Reviewed-on: https://go-review.googlesource.com/59931 Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 25 Aug, 2017 2 commits
-
-
Matt Layher authored
I falsely assumed that enum values would be generated automatically, but now realize that the previous values I added were actually generated from preprocessor define statements. This change adds some missing values I intended to add in CL 59050. Fixes golang/go#21623. Change-Id: I3c40c8454ee1d323e1e4e014febe0874e859a378 Reviewed-on: https://go-review.googlesource.com/59090 Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Matt Layher authored
Taskstats is a netlink-based interface for sending per-task and per-process statistics from the kernel to userspace. For more information, please see: https://www.kernel.org/doc/Documentation/accounting/taskstats.txt. Fixes golang/go#21616. Change-Id: I7d4b8035aa8e993074d61911d9a8c3a3e61c9b2e Reviewed-on: https://go-review.googlesource.com/59050 Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 21 Aug, 2017 1 commit
-
-
Tobias Klauser authored
Add CreateEventEx, OpenEvent, ResetEvent and PulseEvent. Also change eventAttrs to use the local definition of the SecurityAttributes type, not the one from syscall. GetConsoleScreenBufferInfo is also changed by re-running 'go generate' to pass a pointer to ConsoleScreenBufferInfo (instead of a pointer to pointer). Change-Id: I08dff4360186b04c55fd0362e31920f38206157b Reviewed-on: https://go-review.googlesource.com/56110Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Run-TryBot: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 17 Aug, 2017 1 commit
-
-
Tobias Klauser authored
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>
-
- 15 Aug, 2017 1 commit
-
-
Tobias Klauser authored
Follow CL golang.org/cl/55690 (which did the same for syscall) and fix the definition of AT_FDCWD on dragonfly/amd64. Change-Id: I2c44a0f84308697d3dbac9b78c4a3dce973f88ba Reviewed-on: https://go-review.googlesource.com/55691Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 14 Aug, 2017 2 commits
-
-
Tobias Klauser authored
Follow golang.org/cl/55130 and add the utimensat syscall on *BSD. Use it in UtimesNano and UtimesNanoAt (which is added on *BSD, akin to the already existing implementation on Linux and Solaris). Also add AT_FDCWD and AT_SYMLINK_NOFOLLOW where they are missing. These might be used with UtimesNanoAt. In order to be able to generate the syscalls, also add two missing $GOOS_$GOARCH patterns to mkall.sh. As a side effect, some additional syscalls are added for openbsd/arm. Change-Id: I85351098002209f8454ec328cef0cfe9d12c5214 Reviewed-on: https://go-review.googlesource.com/55071Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Sean Chittenden authored
Fixes: golang/go#21410 Change-Id: Ie1971f7d6e0cfe405603e94c538a15dd5f467392 Reviewed-on: https://go-review.googlesource.com/55230 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 09 Aug, 2017 4 commits
-
-
Yuval Pavel Zholkover authored
Fixes golang/go#21375 Change-Id: Ibb33df9d71eb3a935a1f8f9f0ad1f180211e8ce4 Reviewed-on: https://go-review.googlesource.com/54390Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
Follow golang.org/cl/50450 and add the Faccessat, Fchmodat, Fchownat, Linkat, Mkdirat, Openat, Readlinkat, Renameat, Symlinkat and Unlinkat functions (to conform to POSIX.1-2008) for darwin/arm and darwin/amd64. Also add the missing AT_* constants. Generated on Mac OS 10.11 (Darwin 15.6.0). This also regenerates the syscall numbers for arm and arm64 akin to golang.org/cl/14151 Also fix the mksysnum call in mkall.sh to work for darwin/arm. Fixes golang/go#14457 Change-Id: Ia3c36dbca9e6f1e4873afdfafcc4f7d8050644f9 Reviewed-on: https://go-review.googlesource.com/54271Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
Add the MNT_* constants used for the Mount and Umount functions on Darwin. Generated on Mac OS 10.11 (Darwin 15.6.0). This also brings zerrors_darwin_{arm,arm64} up to date with constants which are already present for 386 and amd64. Fixes golang/go#9891 Change-Id: Id77847a2fb805a759aa0f5b36e8954b764e699a5 Reviewed-on: https://go-review.googlesource.com/54210Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Brad Fitzpatrick authored
This copies over some files from the main repo to make the GOOS=openbsd GOARCH=arm go install and go test -c work. No clue whether it actually works or not, though. We don't have builders anymore for this port. But once this compiles, we'll at least be able to use constants from the x/sys/unix package from x/net without regressing x/net's support for openbsd/arm. (If anybody uses openbsd/arm) Fixes golang/go#10826 Change-Id: Id821e2011bcd2d3720652be44ac09e4ce4d2a3a3 Reviewed-on: https://go-review.googlesource.com/54053 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Joel Sing <joel@sing.id.au>
-
- 08 Aug, 2017 1 commit
-
-
Yuval Pavel Zholkover authored
Re-run mkall.sh on FreeBSD-11.1-RELEASE armv6 for Capsicum consts and POSIX.1-2008 path relative *at() syscalls. Add errors_freebsd_arm.go generated semi-automatically using: https://gist.github.com/paulzhol/c6d54dc2baf2a6bd204b343a15459661 Similar to https://golang.org/cl/51570. In order to handle C enum based constants that mkerrors.sh missed. Use fix from https://golang.org/cl/53639 to run Capsicum tests only on amd64. Fixes golang/go#21136 Change-Id: I9681b033531090e6b1c5e2446a442deb39cf3066 Reviewed-on: https://go-review.googlesource.com/53691Reviewed-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>
-
- 03 Aug, 2017 2 commits
-
-
Tobias Klauser authored
The ztypes_* file names indicate that these are auto-generated while in fact they aren't. Rename them to types_* to avoid this confusion. Noticed by Brad Fitzpatrick in https://golang.org/cl/52670. Change-Id: I75c8d0f4116dfb3a24ae9444509daf31524c35d6 Reviewed-on: https://go-review.googlesource.com/52950Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
Add the SetConsoleMode and GetConsoleScreenBufferInfo functions, as well as the corresponding types and constants. For details see: https://docs.microsoft.com/en-us/windows/console/setconsolemode https://docs.microsoft.com/en-us/windows/console/getconsolescreenbufferinfo https://docs.microsoft.com/en-us/windows/console/console-screen-buffer-info-str Change-Id: I17dcd62ffde12b5c94e1245b6836d067aea3dc6e Reviewed-on: https://go-review.googlesource.com/52670 TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-
- 02 Aug, 2017 1 commit
-
-
Tobias Klauser authored
Add IoctlGetInt/IoctlSetInt, IoctlGetTermios/IoctlSetTermios and IoctlGetWinsize/IoctlSetWinsize on FreeBSD. These are similar to the already existing implementations on Linux, Darwin and Solaris. Generated on FreeBSD 10.11-RELEASE. Change-Id: I79b273032cfeb719ec5550ac15635fd9f3231469 Reviewed-on: https://go-review.googlesource.com/52710Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 01 Aug, 2017 2 commits
-
-
Tobias Klauser authored
Add IoctlGetInt/IoctlSetInt, IoctlGetTermios/IoctlSetTermios and IoctlGetWinsize/IoctlSetWinsize on Darwin. These are similar to the already existing implementations on Linux and Solaris. Generated on Mac OS 10.11 (Darwin 15.6.0). Change-Id: I2d4cc957c840836fcc2ccb71c67631420f4a2eb1 Reviewed-on: https://go-review.googlesource.com/52410Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
Add the Faccessat, Fchmodat, Fchownat, Linkat, Mkdirat, Readlinkat, Renameat, Symlinkat and Unlinkat functions (to conform to POSIX.1-2008) and also add the missing AT_* constants. Generated on FreeBSD 10.11-RELEASE for freebsd/amd64 and freebsd/386. Change-Id: I1aea155d5375cfd6b38662018ccb5b834151b982 Reviewed-on: https://go-review.googlesource.com/52070Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 28 Jul, 2017 3 commits
-
-
Tobias Klauser authored
Capsicum support was added by https://golang.org/cl/47290, but only for amd64. This broke the freebsd/386 build which was subsequently fixed by http://golang.org/cl/51270. However, even with this fix the tests still fail to build due to the missing Capsicum functions and types. Fix the build/test on freebsd/386 for real by re-running mkall.sh on FreeBSD 11.1-RELEASE (inside VirtualBox) to get all the Capsicum functions and types. Some zerrors constants were removed or converted to enums in the FreeBSD headers. Manually move them to a dedicated file. Do the same for amd64, where these constants were removed by accident in https://golang.org/cl/47290. Updates golang/go#21136 Change-Id: I54fe2c4567674b07dedad677756369a43a1f0ef6 Reviewed-on: https://go-review.googlesource.com/51570Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Matt Layher authored
The packet_mreq structure is used on Linux to modify the behavior of packet sockets using setsockopt. See 'man 7 packet' for more details. Change-Id: I34e5b99a6b6eb1f23d49a9c9f25ce7b77121c8f0 Reviewed-on: https://go-review.googlesource.com/51710 Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Tobias Klauser authored
Add the SizeofIovec constant corresponding to type Iovec. Change-Id: Icde241b8cac3bc89806f0081a4021598bf0ef7cf Reviewed-on: https://go-review.googlesource.com/51730Reviewed-by: Matt Layher <mdlayher@gmail.com> Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 27 Jul, 2017 1 commit
-
-
Kirill Smelkov authored
Syncfs is Linux-specific system call to synchronize to disk one filesystem specified by fd to any of its files. See http://man7.org/linux/man-pages/man2/syncfs.2.html for details. Change-Id: Ia2ad6208c3fa0e9c40d5112ce938edd5d374131d Reviewed-on: https://go-review.googlesource.com/51510Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 26 Jul, 2017 1 commit
-
-
Brad Fitzpatrick authored
It was broken by https://golang.org/cl/47290 Fixes golang/go#21136 Change-Id: I2a08869fd44a9776f0dc7d461814e1df4e606b5d Reviewed-on: https://go-review.googlesource.com/51270Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 25 Jul, 2017 4 commits
-
-
Tobias Klauser authored
Remove a duplicate build tag in unix/flock.go. Keep the alphabetically sorted version below the copyright header. Change-Id: Ie3a6e5e01e5e4114960fdf63111a68d3b2b8de47 Reviewed-on: https://go-review.googlesource.com/51051Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
Add Major, Minor and Mkdev functions for converting devices numbers to their major/minor components and vice versa. The functions follow the behavior of glibc's corresponding macros. Also add an explanatory comment about the device number format, so the magic numbers make more sense. Test the conversion macros with some well-known device numbers for devices which should be present on any Linux system. Fixes golang/go#8106 Change-Id: Id336317985d6ac85ee83bc54e5f23703257c9121 Reviewed-on: https://go-review.googlesource.com/50550 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Tobias Klauser authored
Add the Msync function on darwin/amd64 and darwin/386. Fixes golang/go#8245 Change-Id: I1d234bb97731934c36d926ed2332c93b35b2f641 Reviewed-on: https://go-review.googlesource.com/50892Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
Add the Msync function on Linux. See http://man7.org/linux/man-pages/man2/msync.2.html Updates golang/go#8245 Change-Id: I964259bafc8d4fbca09961443f21c4278bf56706 Reviewed-on: https://go-review.googlesource.com/50891Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 21 Jul, 2017 1 commit
-
-
Tobias Klauser authored
Add the Faccessat, Fchownat, Linkat, Mkdirat, Openat, Readlinkat, Renameat, Symlinkat and Unlinkat functions (to conform to POSIX.1-2008) and make Fchmodat available on all architectures, not just amd64. Also add the missing AT_* constants. Generated on Mac OS 10.11 (Darwin 15.6.0) for darwin/amd64 and darwin/386 only. Fixes golang/go#14458 Change-Id: I6d9258864383ea77f9cad058ee8ba2c728213b40 Reviewed-on: https://go-review.googlesource.com/50450Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 19 Jul, 2017 1 commit
-
-
Ben Laurie authored
Change-Id: Ibb1426ebd18d27ee9f144af0fd8c94b08c06f7d7 Reviewed-on: https://go-review.googlesource.com/47290Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-