aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bonventre <andybons@golang.org>2019-07-30 17:46:36 -0400
committerAndrew Bonventre <andybons@golang.org>2019-07-31 16:47:49 +0000
commit3c977973949b167b91eff6db8f52570e7b13c81e (patch)
tree9dd76ae8faad69d4eb03789f22490def2dd4e5c0
parentf194c9f25a87444d029f905f230e1004b264e6de (diff)
downloadgo-3c977973949b167b91eff6db8f52570e7b13c81e.tar.gz
go-3c977973949b167b91eff6db8f52570e7b13c81e.zip
[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 <emm.odeke@gmail.com> Reviewed-by: Keith Randall <khr@golang.org> (cherry picked from commit fe8a86646478b11db5697108a4db0deeaca29595) Reviewed-on: https://go-review.googlesource.com/c/go/+/188357
-rw-r--r--doc/go1.12.html4
1 files changed, 4 insertions, 0 deletions
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,
<code>syscall.Getdirentries</code> now always fails with
<code>ENOSYS</code> on iOS.
+ Additionally, <a href="/pkg/syscall/#Setrlimit"><code>syscall.Setrlimit</code></a>
+ reports <code>invalid</code> <code>argument</code> in places where it historically
+ succeeded. These consequences are not specific to Go and users should expect
+ behavioral parity with <code>libSystem</code>'s implementation going forward.
</p>
<h2 id="tools">Tools</h2>