Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add renameat2 function [BZ #17662] | Florian Weimer | 2018-07-05 | 1 | -0/+44 |
The implementation falls back to renameat if renameat2 is not available in the kernel (or in the kernel headers) and the flags argument is zero. Without kernel support, a non-zero argument returns EINVAL, not ENOSYS. This mirrors what the kernel does for invalid renameat2 flags. |