In cases where a guest has a handle to a write-only descriptor (e.g. opened by setting only the write descriptor-flag), and tries to escalate permissions by calling open-at with the read flag, it's not clear what error should be returned.
Does it make sense to add a error write-only case to error-code similar to read-only?
In cases where a guest has a handle to a write-only descriptor (e.g. opened by setting only the
writedescriptor-flag), and tries to escalate permissions by callingopen-atwith thereadflag, it's not clear what error should be returned.Does it make sense to add a error
write-onlycase toerror-codesimilar toread-only?