View Issue Details

IDProjectCategoryView StatusLast Update
00018431003.1(2024)/Issue8Base Definitions and Headerspublic2024-07-25 16:30
Reporterphilip-guenther Assigned To 
PrioritynormalSeverityObjectionTypeError
Status ResolvedResolutionAccepted 
NamePhilip Guenther
OrganizationOpenBSD
User Reference<fcntl.h>
Sectionfcntl.h
Page Number248
Line Number8701-8706 (looking at 202x_d4.1)
Interp Status---
Final Accepted Text
Summary0001843: description of O_EXEC+O_SEARCH not updated after defect 658
DescriptionDefect 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 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 ActionSince 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.
Tagstc1-2024

Relationships

related to 0001665 Closed Issue 8 drafts Contradictory text in descriptions of O_EXEC and O_SEARCH 

Activities

geoffclare

2024-07-22 08:49

manager   bugnote:0006836

The Description text contained a copy of the Desired Action in the middle of quoted text from the standard. I have removed it.

Issue History

Date Modified Username Field Change
2024-07-21 20:33 philip-guenther New Issue
2024-07-21 20:33 philip-guenther Name => Philip Guenther
2024-07-21 20:33 philip-guenther Organization => OpenBSD
2024-07-21 20:33 philip-guenther User Reference => <fcntl.h>
2024-07-21 20:33 philip-guenther Section => fcntl.h
2024-07-21 20:33 philip-guenther Page Number => 248
2024-07-21 20:33 philip-guenther Line Number => 8701-8706 (looking at 202x_d4.1)
2024-07-22 08:49 geoffclare Interp Status => ---
2024-07-22 08:49 geoffclare Note Added: 0006836
2024-07-22 08:49 geoffclare Description Updated
2024-07-22 08:54 geoffclare Relationship added related to 0001665
2024-07-25 16:30 Don Cragun Status New => Resolved
2024-07-25 16:30 Don Cragun Resolution Open => Accepted
2024-07-25 16:31 Don Cragun Tag Attached: tc1-2024