Maxime de Roucy
ce7380f5b0
x/sys/unix: add fallocate constants
...
Add FALLOC_* constants from /usr/include/linux/falloc.h to use with
Fallocate (golang.org/x/sys/unix package).
Fix golang/go#10599
Change-Id: Ie001e554250bb12472c612adcb4b79c6f72cac34
Reviewed-on: https://go-review.googlesource.com/36336
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2017-02-13 20:02:47 +00:00
Elliot Morrison-Reed
30237cf4ee
x/sys/unix: added SockaddrCAN struct to allow creation of AF_CAN sockets
...
Fixes golang/go#16188
Change-Id: I396ccbf6ce14147bc03ecdf180c2657c22b477b4
Reviewed-on: https://go-review.googlesource.com/33392
Reviewed-by: Ian Lance Taylor <iant@golang.org >
Run-TryBot: Ian Lance Taylor <iant@golang.org >
TryBot-Result: Gobot Gobot <gobot@golang.org >
2016-11-22 21:48:34 +00:00
Jess Frazelle
b44883b474
unix: add CLONE_NEWCGROUP for linux kernel >=4.6
...
Change-Id: I827a97ad2b43f9b33281d0da36fe4cfdf24b928f
Reviewed-on: https://go-review.googlesource.com/23965
Reviewed-by: Ian Lance Taylor <iant@golang.org >
Run-TryBot: Ian Lance Taylor <iant@golang.org >
TryBot-Result: Gobot Gobot <gobot@golang.org >
2016-06-10 01:22:07 +00:00
Nick Patavalis
7486f8ece0
unix: additional termios-related constants
...
- mkerrors.sh: Included several termios-related constants that were
missing. Also included definitions of tty-related ioctl numbers for
linux.
- zerrors_linux_*: the files have been generated using
"./mkerrors.sh". After their automatic generation the files have
been manually edited to remove changes that were not due to this
patch.
Change-Id: I0463112542a5c1c41583007003b652375f9ce572
Reviewed-on: https://go-review.googlesource.com/17184
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2015-11-23 20:52:33 +00:00
Shenghou Ma
379497e3ff
unix: add explicit build tags
...
Change-Id: I62774b8ee0c1a7cc1a3b7009ca860e3fd64a6564
Signed-off-by: Shenghou Ma <minux@golang.org >
Reviewed-on: https://go-review.googlesource.com/10182
Reviewed-by: Rob Pike <r@golang.org >
2015-05-18 19:15:57 +00:00
Shenghou Ma
ca94ffdedb
unix: add ppc64/linux support
...
Built with 3.18 linux kernel headers on Gentoo.
Change-Id: Ic21a315eb7569c6682f5cb2c991f0966245197f9
Signed-off-by: Shenghou Ma <minux@golang.org >
Reviewed-on: https://go-review.googlesource.com/10044
Reviewed-by: Rob Pike <r@golang.org >
2015-05-17 01:16:40 +00:00