Skip to content

Commit fe8a866

Browse files
committed
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 <[email protected]> Reviewed-by: Keith Randall <[email protected]>
1 parent 8dddf75 commit fe8a866

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

doc/go1.12.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ <h3 id="darwin">Darwin</h3>
8080
checks for private API usage. Since it is considered private,
8181
<code>syscall.Getdirentries</code> now always fails with
8282
<code>ENOSYS</code> on iOS.
83+
Additionally, <a href="/pkg/syscall/#Setrlimit"><code>syscall.Setrlimit</code></a>
84+
reports <code>invalid</code> <code>argument</code> in places where it historically
85+
succeeded. These consequences are not specific to Go and users should expect
86+
behavioral parity with <code>libSystem</code>'s implementation going forward.
8387
</p>
8488

8589
<h2 id="tools">Tools</h2>

0 commit comments

Comments
 (0)