mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-16 19:04:53 +08:00
When O_NOFOLLOW is used, open() should only prevent following symbolic links. Hard links are still ordinary directory entries and should continue to resolve to the target object. Switch the follow flags from zero to RTEMS_FS_FOLLOW_HARD_LINK so the path evaluator keeps hard links working while suppressing symbolic link following.