Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysconf(NPROCESSORS_CONF) is broken on musl and they've been arguing …
…about it for years (https://www.openwall.com/lists/musl/2022/07/27/5) so just inline the readdir glibc and bionic are both doing under the covers. In theory we could also readdir for the online case, but the syscall works when sysfs isn't mounted. (And while I'm there: never return 0.)
- Loading branch information