Commit 3c977973 authored by Andrew Bonventre's avatar Andrew Bonventre

[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/+/188237Reviewed-by: default avatarEmmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: default avatarKeith Randall <khr@golang.org>
(cherry picked from commit fe8a8664)
Reviewed-on: https://go-review.googlesource.com/c/go/+/188357
parent f194c9f2
...@@ -80,6 +80,10 @@ Do not send CLs removing the interior tags from such phrases. ...@@ -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, checks for private API usage. Since it is considered private,
<code>syscall.Getdirentries</code> now always fails with <code>syscall.Getdirentries</code> now always fails with
<code>ENOSYS</code> on iOS. <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> </p>
<h2 id="tools">Tools</h2> <h2 id="tools">Tools</h2>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment