From b9628f2c71bef84d1b1dfc9379578c8e33670772 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 10 Aug 2021 10:33:49 +0200 Subject: [PATCH] unix: add missing RLIMIT_* consts on openbsd/{386,arm} Change-Id: I7e978beec3d63d407ffb97fb526ad0bc4ae4a03b Reviewed-on: https://go-review.googlesource.com/c/sys/+/341069 Trust: Tobias Klauser Reviewed-by: Matt Layher Run-TryBot: Tobias Klauser TryBot-Result: Go Bot --- unix/zerrors_openbsd_386.go | 3 +++ unix/zerrors_openbsd_arm.go | 3 +++ 2 files changed, 6 insertions(+) diff --git a/unix/zerrors_openbsd_386.go b/unix/zerrors_openbsd_386.go index 593cc0fe..6d56edc0 100644 --- a/unix/zerrors_openbsd_386.go +++ b/unix/zerrors_openbsd_386.go @@ -1020,7 +1020,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 diff --git a/unix/zerrors_openbsd_arm.go b/unix/zerrors_openbsd_arm.go index a4e4c223..aef6c085 100644 --- a/unix/zerrors_openbsd_arm.go +++ b/unix/zerrors_openbsd_arm.go @@ -1020,7 +1020,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