The following issue has been SUBMITTED. ====================================================================== https://austingroupbugs.net/view.php?id=1843 ====================================================================== Reported By: philip-guenther Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1843 Category: Base Definitions and Headers Type: Error Severity: Objection Priority: normal Status: New Name: Philip Guenther Organization: OpenBSD User Reference: <fcntl.h> Section: fcntl.h Page Number: 248 Line Number: 8701-8706 (looking at 202x_d4.1) Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2024-07-21 20:33 UTC Last Modified: 2024-07-21 20:33 UTC ====================================================================== Summary: description of O_EXEC+O_SEARCH not updated after defect 658 Description: Defect 658 specified the legal behaviors of open(O_EXEC) on directory and open(O_SEARCH) on a non-directory, but the fcntl.h description wasn't updated to match.
O_EXEC Open for execute only (non-directory Since the permitted behaviors of open/openat are specified in their specific pages, I think we should just delete the second sentence ("The result is unspecified...") from each item. files). The result is unspecified if this flag is applied to a directory. ... O_SEARCH Open directory for search only. The result is unspecified if this flag is applied to a non-directory file. The second sentence of each description is no longer true: the permitted behaviors are specified. Desired Action: Since the permitted behaviors of open/openat are specified in their specific pages, I think we should just delete the second sentence ("The result is unspecified...") from each item. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2024-07-21 20:33 philip-guentherNew Issue 2024-07-21 20:33 philip-guentherName => Philip Guenther 2024-07-21 20:33 philip-guentherOrganization => OpenBSD 2024-07-21 20:33 philip-guentherUser Reference => <fcntl.h> 2024-07-21 20:33 philip-guentherSection => fcntl.h 2024-07-21 20:33 philip-guentherPage Number => 248 2024-07-21 20:33 philip-guentherLine Number => 8701-8706 (looking at 202x_d4.1) ======================================================================