mirror of https://git.musl-libc.org/git/musl
Browse Source
access always computes result with real ids not effective ones, so it is not a valid means of determining whether the directory is readable. instead, attempt to open it before reporting whether it's readable, and then use fdopendir rather than opendir to open and read the entries. effort is made here to keep fd_limit behavior the same as before even if it was not correct.master
1 changed files with 18 additions and 4 deletions
Loading…
Reference in new issue