In the cases where Linux returns an error (e.g. passing in an undefined flag) there's no need for us to emit a message.
Details
Details
- Reviewers
trasz kaktus - Group Reviewers
Linux Emulation - Commits
- rG4d0dc71a7bf0: linux_renameat2: improve flag checks
rS354447: linux_renameat2: improve flag checks
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
https://manpages.debian.org/testing/manpages-dev/renameat2.2.en.html
This adds these cases:
EINVAL An invalid flag was specified in flags. EINVAL Both RENAME_NOREPLACE and RENAME_EXCHANGE were specified in flags. EINVAL Both RENAME_WHITEOUT and RENAME_EXCHANGE were specified in flags.