On Mon, 2025-10-06 at 22:40 +0100, Jonathan McDowell wrote: > What should we do if we get O_EXCL and O_RDONLY? Return an error? > Ignore the O_EXCL flag?
As a command/response interface, it can't be operated read only ... so I think we should just return -EINVAL (or something more appropriate) if someone tries to open it O_RDONLY regardless of O_EXCL. Regards, James
