Issue created by Sebastian Huber: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5724
`FutimensTest()` of `psx13` restores the mode of its test file with a `chmod()` call which reads `fstat.st_mode`. The first `stat()` of that function runs later, so the structure holds whatever the stack slot contains. The file receives a mode decided by the previous frame. On `or1k` that mode denies write access to the owner, so `futimens( fd, NULL )` fails with `EACCES` and the test asserts. The other ten architectures pass because their stack holds a usable mode. `UtimensatTest()` in the same file reads the mode first and is correct. Found while running the full test suite on eleven simulators. This description was created with Claude Code assistance. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5724 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-52b7xcdi6sahzmuuobb34dh4a-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
