From fe8a86646478b11db5697108a4db0deeaca29595 Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Tue, 30 Jul 2019 17:46:36 -0400 Subject: [PATCH] doc/go1.12: document change in syscall.Setrlimit behavior Fixes #30401 Change-Id: I7b5035ffc7333c746d4e31563df26ff4f934dfc6 Reviewed-on: https://go-review.googlesource.com/c/go/+/188237 Reviewed-by: Emmanuel Odeke Reviewed-by: Keith Randall --- doc/go1.12.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/go1.12.html b/doc/go1.12.html index cc19c0f31a9b68..7f0b221cc31fd3 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -80,6 +80,10 @@

Darwin

checks for private API usage. Since it is considered private, syscall.Getdirentries now always fails with ENOSYS on iOS. + Additionally, syscall.Setrlimit + reports invalid argument in places where it historically + succeeded. These consequences are not specific to Go and users should expect + behavioral parity with libSystem's implementation going forward.

Tools