Change-Id: I4277f4130b460b42c5b51fd5a5e07f6c0e62163b
Reviewed-on: https://go-review.googlesource.com/c/154720
Reviewed-by: Ian Lance Taylor <iant@golang.org>
<p><!-- CL 141639 -->
<code>libSystem</code> is now used when making syscalls on Darwin,
ensuring forward-compatibility with future versions of macOS and iOS.
+ <!-- CL 153338 -->
+ The switch to <code>libSystem</code> triggered additional App Store
+ checks for private API usage. Since it is considered private,
+ <code>syscall.Getdirentries</code> now always fails with
+ <code>ENOSYS</code> on iOS.
</p>
<h2 id="tools">Tools</h2>