Anonymous | Login | 2024-03-29 14:22 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000943 | [1003.1(2013)/Issue7+TC1] System Interfaces | Comment | Omission | 2015-05-01 08:14 | 2019-06-10 08:54 | ||
Reporter | EdSchouten | View Status | public | ||||
Assigned To | ajosey | ||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | ||||||
Name | Ed Schouten | ||||||
Organization | Nuxi | ||||||
User Reference | |||||||
Section | open() and openat() | ||||||
Page Number | 1395 | ||||||
Line Number | 46152 | ||||||
Interp Status | Approved | ||||||
Final Accepted Text | See Note: 0002710. | ||||||
Summary | 0000943: open() and openat() fail to describe what happens when opening a socket | ||||||
Description |
When I take a look at various operating systems, I observe the following: NetBSD: $ ls -l /var/run/log srw-rw-rw- 1 root wheel 0 May 1 10:01 /var/run/log $ cat /var/run/log cat: /var/run/log: Operation not supported FreeBSD: $ ls -l /var/run/log srw-rw-rw- 1 root wheel 0 Mar 15 15:32 /var/run/log= $ cat /var/run/log cat: /var/run/log: Protocol wrong type for socket Linux: $ ls -l /var/run/acpid.socket srw-rw-rw- 1 root root 0 mei 1 09:58 /var/run/acpid.socket= $ cat /var/run/acpid.socket cat: /var/run/acpid.socket: No such device or address Three different systems, three different error codes. If I look at the description of open() and openat(), it seems that there's also no error code reserved for this situation. |
||||||
Desired Action | Pick a relevant error code and have it documented, so that operating systems can come up with a uniform way of dealing with this condition. | ||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2015-05-01 08:14 | EdSchouten | New Issue | |
2015-05-01 08:14 | EdSchouten | Status | New => Under Review |
2015-05-01 08:14 | EdSchouten | Assigned To | => ajosey |
2015-05-01 08:14 | EdSchouten | Name | => Ed Schouten |
2015-05-01 08:14 | EdSchouten | Organization | => Nuxi |
2015-05-01 08:14 | EdSchouten | Section | => open() and openat() |
2015-05-01 08:14 | EdSchouten | Page Number | => unknown |
2015-05-01 08:14 | EdSchouten | Line Number | => unknown |
2015-05-01 08:38 | geoffclare | Note Added: 0002645 | |
2015-05-01 15:36 | jilles | Note Added: 0002646 | |
2015-05-06 14:13 | joerg | Note Added: 0002653 | |
2015-05-06 15:27 | geoffclare | Note Added: 0002655 | |
2015-05-06 15:34 | joerg | Note Added: 0002656 | |
2015-05-06 15:36 | joerg | Note Edited: 0002656 | |
2015-05-06 15:36 | joerg | Note Edited: 0002656 | |
2015-06-11 16:34 | geoffclare | Project | 1003.1(2008)/Issue 7 => 1003.1(2013)/Issue7+TC1 |
2015-06-11 16:39 | Don Cragun | Note Added: 0002710 | |
2015-06-11 16:42 | Don Cragun | Page Number | unknown => 1395 |
2015-06-11 16:42 | Don Cragun | Line Number | unknown => 46152 |
2015-06-11 16:42 | Don Cragun | Interp Status | => Pending |
2015-06-11 16:42 | Don Cragun | Final Accepted Text | => See Note: 0002710. |
2015-06-11 16:42 | Don Cragun | Status | Under Review => Interpretation Required |
2015-06-11 16:42 | Don Cragun | Resolution | Open => Accepted As Marked |
2015-06-11 16:42 | Don Cragun | Tag Attached: tc2-2008 | |
2015-06-19 07:07 | ajosey | Interp Status | Pending => Proposed |
2015-06-19 07:07 | ajosey | Note Added: 0002724 | |
2015-09-07 11:33 | ajosey | Interp Status | Proposed => Approved |
2015-09-07 11:33 | ajosey | Note Added: 0002820 | |
2019-06-10 08:54 | agadmin | Status | Interpretation Required => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |