Files
RedBear-OS/tests/unistd
Josh Megnauth c899feb774 Implement fstatat
Linux's variant uses the syscall as intended. Redox's variant uses fpath
to build a path to pass to fstat from the file descriptor plus the file
name. Unlike the syscall, this isn't atomic so the liminal space between
fpath/getcwd and fstat is subject to TOCTOU.

Beyond fstatat, I moved the stat test to its correct location and added
an assert since the output of the test is unchecked.

I also added AT_FDCWD which seems to be -100 across Unixes. The other
AT_* constants are unimplemented for now.
2025-08-27 08:21:41 -04:00
..
2025-08-22 22:13:51 -04:00
2024-03-27 12:21:14 +00:00
2024-12-26 17:14:15 -08:00
2019-07-06 19:21:11 -06:00
2019-07-01 09:07:11 +02:00
2019-07-06 19:27:42 -06:00
2019-09-17 19:57:43 -04:00
2023-11-12 12:07:49 +01:00
2023-11-12 12:07:49 +01:00
2024-07-23 16:07:25 +02:00
2024-07-23 16:07:25 +02:00
2019-02-24 00:46:26 +01:00
2019-02-25 14:13:02 +01:00
2023-11-12 12:07:49 +01:00
2023-11-12 12:07:49 +01:00
2019-02-25 14:13:02 +01:00
2019-02-24 00:46:26 +01:00