HomeFreeBSD

open(2): allow O_PATH | O_CREAT

Description

open(2): allow O_PATH | O_CREAT

There is no reason to disallow creating the file opened for path.
More, it might be a useful feature together with O_EXCL.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D48332

Details

Provenance
kibAuthored on Mon, Jan 6, 11:01 AM
Reviewer
markj
Differential Revision
D48332: open(2): allow O_PATH | O_CREAT
Parents
rGfd94571ccf0c: rawip: Take the inpcb lock when appropriate in rip_ctloutput()
Branches
Unknown
Tags
Unknown