kubkon opened PR #1958 from dir_fd_read
to main
:
This commit adds
FD_READ
andFD_SEEK
rights to dir handles. This way
we allow the user to open a directory with those rights (perhaps by mistake)
but we throwEISDIR
when the user attemps to callfd_read
orfd_pread
on the obtained handle. This matches the expected behaviour one would expect
in POSIX and related.Closes #1935
pchickey submitted PR Review.
kubkon updated PR #1958 from dir_fd_read
to main
:
This commit adds
FD_READ
andFD_SEEK
rights to dir handles. This way
we allow the user to open a directory with those rights (perhaps by mistake)
but we throwEISDIR
when the user attemps to callfd_read
orfd_pread
on the obtained handle. This matches the expected behaviour one would expect
in POSIX and related.Closes #1935
kubkon closed without merge PR #1958.
Last updated: Nov 22 2024 at 16:03 UTC