]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.12: document change in syscall.Setrlimit behavior
authorAndrew Bonventre <andybons@golang.org>
Tue, 30 Jul 2019 21:46:36 +0000 (17:46 -0400)
committerAndrew Bonventre <andybons@golang.org>
Wed, 31 Jul 2019 16:43:10 +0000 (16:43 +0000)
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>
doc/go1.12.html

index cc19c0f31a9b6882303f63b97517722b9d2cd4ac..7f0b221cc31fd3a964f03eaf4a1a23413ea11be8 100644 (file)
@@ -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>