From: Andrew Bonventre
Date: Tue, 30 Jul 2019 21:46:36 +0000 (-0400)
Subject: [release-branch.go1.12] doc/go1.12: document change in syscall.Setrlimit behavior
X-Git-Tag: go1.12.9~6
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3c977973949b167b91eff6db8f52570e7b13c81e;p=gostls13.git
[release-branch.go1.12] 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
(cherry picked from commit fe8a86646478b11db5697108a4db0deeaca29595)
Reviewed-on: https://go-review.googlesource.com/c/go/+/188357
---
diff --git a/doc/go1.12.html b/doc/go1.12.html
index cc19c0f31a..7f0b221cc3 100644
--- a/doc/go1.12.html
+++ b/doc/go1.12.html
@@ -80,6 +80,10 @@ Do not send CLs removing the interior tags from such phrases.
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.