HomeFreeBSD

linux_renameat2: improve flag checks

Description

linux_renameat2: improve flag checks

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. (The target of this
message is a developer working on the linuxulatorm, not the author of
presumably broken Linux software).

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21606

(cherry picked from commit 01b9ee4c509e2882147af35eea4772d06ecd4150)

Details

Provenance
emasteAuthored on Nov 7 2019, 3:51 PM
dchaginCommitted on Jun 10 2021, 9:27 AM
Differential Revision
D21606: linux_renameat2: improve flag checks
Parents
rG2d7565bbbc53: linux_common: retire extra module version.
Branches
Unknown
Tags
Unknown