From fe8a86646478b11db5697108a4db0deeaca29595 Mon Sep 17 00:00:00 2001
From: Andrew Bonventre Darwin
checks for private API usage. Since it is considered private,
syscall.Getdirentries
now always fails with
ENOSYS
on iOS.
+ Additionally, syscall.Setrlimit
+ reports invalid
argument
in places where it historically
+ succeeded. These consequences are not specific to Go and users should expect
+ behavioral parity with libSystem
's implementation going forward.