Page MenuHomeFreeBSD

Return EISDIR when read() and pread()'ing a directory.
AbandonedPublic

Authored by delphij on May 12 2020, 2:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 19 2024, 1:07 AM
Unknown Object (File)
Nov 1 2024, 10:25 PM
Unknown Object (File)
Oct 1 2024, 11:32 AM
Unknown Object (File)
Sep 21 2024, 9:28 AM
Unknown Object (File)
Sep 12 2024, 4:35 AM
Unknown Object (File)
Sep 6 2024, 2:54 AM
Unknown Object (File)
Aug 29 2024, 1:26 AM
Unknown Object (File)
Aug 20 2024, 8:53 PM
Subscribers

Details

Reviewers
emaste
jilles
kib
mckusick
Group Reviewers
manpages
Summary

POSIX allows implementation to return EISDIR when reading of directory is not allowed.
readdir() should be used instead.

PR: 246412

Test Plan

cat /

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31037
Build 28743: arc lint + arc unit