mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-06 00:57:18 -04:00
unix: don't export padding fields on DragonflyBSD
Re-run ./mkall.sh to avoid exporting Pad_cgo* fields on dragonfly/amd64. This also adds some additional RLIMIT_* constants. Updates golang/go#18632 Change-Id: I7969d8ab12c07befd7b1ff0d1dbc67f6622c39b1 Reviewed-on: https://go-review.googlesource.com/100595 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
0edb963348
commit
bcaab34b51
@@ -980,7 +980,10 @@ const (
|
||||
RLIMIT_CPU = 0x0
|
||||
RLIMIT_DATA = 0x2
|
||||
RLIMIT_FSIZE = 0x1
|
||||
RLIMIT_MEMLOCK = 0x6
|
||||
RLIMIT_NOFILE = 0x8
|
||||
RLIMIT_NPROC = 0x7
|
||||
RLIMIT_RSS = 0x5
|
||||
RLIMIT_STACK = 0x3
|
||||
RLIM_INFINITY = 0x7fffffffffffffff
|
||||
RTAX_AUTHOR = 0x6
|
||||
|
||||
Reference in New Issue
Block a user