Files
RedBear-OS/src
Josh Megnauth 66f4766c6b Implement RENAME_NO_REPLACE
RENAME_NO_REPLACE is a neat flag for renameat2 which disallows renaming
a source onto an existing target.

I originally implemented this flag in relibc, but that code is still
subject to TOCTOU because the sequence of checking if the target exists
and the actual rename isn't atomic.

The code for the flag isn't used anywhere yet, like frename, but it's
unit tested and works for now.
2025-12-14 21:03:56 -05:00
..
2025-11-14 14:29:19 -07:00
2025-09-26 09:23:41 -06:00
2025-11-17 17:21:59 +07:00
2023-03-18 08:53:54 +00:00
2025-10-31 11:16:13 -06:00
2025-10-31 11:16:13 -06:00
2025-07-02 12:48:39 -06:00
2025-07-01 19:11:00 -06:00
2025-07-02 12:48:39 -06:00
2025-09-26 14:17:03 -06:00
2025-09-26 14:17:03 -06:00
2025-07-31 18:48:17 -06:00
2025-09-26 13:03:07 -06:00
2025-12-14 21:03:56 -05:00
2025-08-01 11:51:37 -06:00
2025-09-26 01:02:07 +07:00