https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259625
--- Comment #5 from Konstantin Belousov <[email protected]> --- (In reply to Drew DeVault from comment #4) This example might be surprising initially, but it is not. Issue is that O_RDONLY is zero, so O_EXEC | O_RDONLY == O_EXEC. Then, when you try to open fdescfd node, it checks for READ permission (since O_RDONLY is zero and no permissions implies READ), but sees that fd is opened for EXEC only. -- You are receiving this mail because: You are the assignee for the bug.
