RTEMS | getdents does not hold the IOP of the file descriptor (#5074)
Loris Nardo (@loris.nardo)
gitlab at rtems.org
Thu Jul 25 16:45:31 UTC 2024
Loris Nardo created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5074
## Summary
`getdents` which is basically the same function as `read` does not hold the IOP while performing its operation; this can lead to the file descriptor to be closed by some else while the `read_h` call is still executing.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5074
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240725/3318ee1e/attachment.htm>
More information about the bugs
mailing list