Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0001605 |
[1003.1(2016/18)/Issue7+TC2] System Interfaces |
Editorial |
Omission |
2022-09-13 15:34 |
2024-06-11 09:07 |
|
Reporter |
steffen |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Accepted As Marked |
|
Status |
Closed |
|
|
|
|
Name |
steffen |
Organization |
|
User Reference |
|
Section |
bind |
Page Number |
626 |
Line Number |
21642ff |
Interp Status |
--- |
Final Accepted Text |
Note: 0005967 |
|
Summary |
0001605: bind: AF_UNIX: extend EADDRINUSE description beyond "symbolic link" |
Description |
bind(2) fails for AF_UNIX sockets if the desired name (path) already exists, regardless of the file type.
I'd presume the symbolic link case is already mentioned due to "following is forbidden" policies. |
Desired Action |
On page 626, line 21642ff change
If the address family of the socket is AF_UNIX and the pathname in address names a symbolic link, bind( ) shall fail and set errno to [EADDRINUSE].
to
If the address family of the socket is AF_UNIX and the pathname in address names an existing file, including a symbolic link, bind( ) shall fail and set errno to [EADDRINUSE]. |
Tags |
tc3-2008 |
|
Attached Files |
|
|