View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000274 | 1003.1(2008)/Issue 7 | Base Definitions and Headers | public | 2010-06-30 16:02 | 2013-04-16 13:06 |
| Reporter | geoffclare | Assigned To | ajosey | ||
| Priority | normal | Severity | Objection | Type | Clarification Requested |
| Status | Closed | Resolution | Accepted | ||
| Name | Geoff Clare | ||||
| Organization | The Open Group | ||||
| User Reference | |||||
| Section | fcntl.h | ||||
| Page Number | 239 | ||||
| Line Number | 7848 | ||||
| Interp Status | --- | ||||
| Final Accepted Text | |||||
| Summary | 0000274: O_EXEC and O_SEARCH equal values | ||||
| Description | I seem to remember that, when the decision to add O_EXEC and O_SEARCH was made, the possibility of implementations defining them with equal values was discussed. This is reflected in the statements on the fcntl.h page that the behaviour of O_EXEC on a directory is unspecified, and likewise for O_SEARCH on a non-directory. However, there is no explicit statement about uniqueness for the access mode constants. Some application writers might assume they are all unique (as used to be the case for O_RDONLY, O_WRONLY and O_RDWR; despite there being no explicit statement, it could be inferred from the requirement for different behaviour of open() for each of them), and thus encounter a problem if they include O_EXEC and O_SEARCH as cases in a switch statement. | ||||
| Desired Action | After The <fcntl.h> header shall define the following symbolic constants for use as the file access modes for open(), openat(), and fcntl(). add The values shall be unique, except that O_EXEC and O_SEARCH may have equal values. | ||||
| Tags | tc1-2008 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-06-30 16:02 | geoffclare | New Issue | |
| 2010-06-30 16:02 | geoffclare | Status | New => Under Review |
| 2010-06-30 16:02 | geoffclare | Assigned To | => ajosey |
| 2010-06-30 16:02 | geoffclare | Name | => Geoff Clare |
| 2010-06-30 16:02 | geoffclare | Organization | => The Open Group |
| 2010-06-30 16:02 | geoffclare | Section | => fcntl.h |
| 2010-06-30 16:02 | geoffclare | Page Number | => 239 |
| 2010-06-30 16:02 | geoffclare | Line Number | => 7848 |
| 2010-06-30 16:02 | geoffclare | Interp Status | => --- |
| 2010-07-01 15:33 |
|
Status | Under Review => Resolved |
| 2010-07-01 15:33 |
|
Resolution | Open => Accepted |
| 2010-08-27 11:17 | ajosey | Tag Attached: tc1-2008 | |
| 2013-04-16 13:06 | ajosey | Status | Resolved => Closed |