summaryrefslogtreecommitdiff
path: root/src/linux/renameat2.c
AgeCommit message (Collapse)AuthorLines
2024-05-23add renameat2 linux syscall wrapperTony Ambardar-0/+11
This syscall is available since Linux 3.15 and also implemented in glibc from version 2.28. It is commonly used in filesystem or security contexts. Constants RENAME_NOREPLACE, RENAME_EXCHANGE, RENAME_WHITEOUT are guarded by _GNU_SOURCE as with glibc.