Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001846 [1003.1(2024)/Issue8] System Interfaces Objection Omission 2024-08-02 01:03 2024-08-08 15:23
Reporter philip-guenther View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Resolved  
Name Philip Guenther
Organization OpenBSD
User Reference
Section socketpair
Page Number 2094-2096
Line Number 68683
Interp Status ---
Final Accepted Text Note: 0006857
Summary 0001846: defect 1067 was only applied to socket() but applies to socketpair() too
Description To quote https://austingroupbugs.net/view.php?id=1067 [^]

    The socketpair() page has the same problem.
Desired Action Apply to socketpair() the same changes about ESOCKTNOSUPPORT that were applied to socket().
Tags tc1-2024
Attached Files

- Relationships
related to 0001067Closed 1003.1(2013)/Issue7+TC1 missing socket() error for unsupported socket type 

-  Notes
(0006857)
geoffclare (manager)
2024-08-05 15:31
edited on: 2024-08-05 15:34

Proposed changes ...

On page 2095 line 68678-68681 section socketpair(), change:
[EPROTONOSUPPORT]
The protocol is not supported by the address family, or the protocol is not supported by the implementation.
[EPROTOTYPE]
The socket type is not supported by the protocol.
to:
[EPROTONOSUPPORT]
The value of protocol is non-zero and either the protocol is not supported by the address family or the protocol is not supported by the implementation.
[EPROTOTYPE]
The value of protocol is non-zero and the socket type is not supported by the protocol.
[ESOCKTNOSUPPORT] [OB]or [EPROTONOSUPPORT] or [EPROTOTYPE][/OB]
The socket type is not supported by the address family, or the socket type is not supported by the implementation.

After page 2096 line 68715 section socketpair(), add a paragraph:
See also the RATIONALE for socket() regarding errno values.

On page 2096 line 68717 section socketpair() change FUTURE DIRECTIONS from:
None.
to:
A future version of this standard may disallow setting errno to [EPROTONOSUPPORT] or [EPROTOTYPE] when the socket type is not supported and protocol is zero.



- Issue History
Date Modified Username Field Change
2024-08-02 01:03 philip-guenther New Issue
2024-08-02 01:03 philip-guenther Name => Philip Guenther
2024-08-02 01:03 philip-guenther Organization => OpenBSD
2024-08-02 01:03 philip-guenther Section => socketpair
2024-08-02 01:03 philip-guenther Page Number => 2094-2096
2024-08-02 01:03 philip-guenther Line Number => 68683
2024-08-05 09:27 geoffclare Relationship added related to 0001067
2024-08-05 15:31 geoffclare Note Added: 0006857
2024-08-05 15:34 geoffclare Note Edited: 0006857
2024-08-08 15:23 geoffclare Interp Status => ---
2024-08-08 15:23 geoffclare Final Accepted Text => Note: 0006857
2024-08-08 15:23 geoffclare Status New => Resolved
2024-08-08 15:23 geoffclare Resolution Open => Accepted As Marked
2024-08-08 15:24 geoffclare Tag Attached: tc1-2024


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker