Skip to content

Commit

Permalink
doc/go1.12: document change in syscall.Setrlimit behavior
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
andybons committed Jul 31, 2019
1 parent 8dddf75 commit fe8a866
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/go1.12.html
Expand Up @@ -80,6 +80,10 @@ <h3 id="darwin">Darwin</h3>
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>
Expand Down

0 comments on commit fe8a866

Please sign in to comment.