[1003.1(2008)/Issue 7 0000689]: Possibly unintended allowance for stdio deadlock

2023-10-10 Thread Austin Group Bug Tracker via austin-group-l at The Open Group


The following issue has a resolution that has been APPLIED. 
== 
https://austingroupbugs.net/view.php?id=689 
== 
Reported By:dalias
Assigned To:ajosey
== 
Project:1003.1(2008)/Issue 7
Issue ID:   689
Category:   System Interfaces
Type:   Clarification Requested
Severity:   Editorial
Priority:   normal
Status: Applied
Name:   Rich Felker 
Organization:   musl libc 
User Reference:  
Section:XSH 2.5 
Page Number:unknown 
Line Number:unknown 
Interp Status:  Approved 
Final Accepted Text:https://austingroupbugs.net/view.php?id=689#c6428 
Resolution: Accepted As Marked
Fixed in Version:   
== 
Date Submitted: 2013-05-05 15:37 UTC
Last Modified:  2023-10-10 09:13 UTC
== 
Summary:Possibly unintended allowance for stdio deadlock
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2013-05-05 15:37 dalias New Issue
2013-05-05 15:37 dalias Status   New => Under Review 
2013-05-05 15:37 dalias Assigned To   => ajosey  
2013-05-05 15:37 dalias Name  => Rich Felker 
2013-05-05 15:37 dalias Organization  => musl libc   
2013-05-05 15:37 dalias Section   => XSH 2.5 
2013-05-05 15:37 dalias Page Number   => unknown 
2013-05-05 15:37 dalias Line Number   => unknown 
2013-05-05 17:13 jilles Note Added: 0001588  
2013-05-05 18:11 dalias Note Added: 0001589  
2013-05-07 11:08 geoffclare Note Added: 0001591  
2015-05-07 08:34 dancol Issue Monitored: dancol  
2023-08-10 16:29 geoffclare Note Added: 0006428  
2023-08-10 16:31 geoffclare Interp Status => Pending 
2023-08-10 16:31 geoffclare Final Accepted Text   =>
https://austingroupbugs.net/view.php?id=689#c6428
2023-08-10 16:31 geoffclare Status   Under Review =>
Interpretation Required
2023-08-10 16:31 geoffclare Resolution   Open => Accepted As
Marked
2023-08-10 16:31 geoffclare Tag Attached: issue8 
2023-08-14 16:07 agadminInterp StatusPending => Proposed 
2023-08-14 16:07 agadminNote Added: 0006432  
2023-10-02 14:30 agadminInterp StatusProposed => Approved
2023-10-02 14:30 agadminNote Added: 0006504  
2023-10-10 09:13 geoffclare Status   Interpretation Required
=> Applied
==




[1003.1(2008)/Issue 7 0000689]: Possibly unintended allowance for stdio deadlock

2023-10-02 Thread Austin Group Bug Tracker via austin-group-l at The Open Group


The following issue has been UPDATED. 
== 
https://www.austingroupbugs.net/view.php?id=689 
== 
Reported By:dalias
Assigned To:ajosey
== 
Project:1003.1(2008)/Issue 7
Issue ID:   689
Category:   System Interfaces
Type:   Clarification Requested
Severity:   Editorial
Priority:   normal
Status: Interpretation Required
Name:   Rich Felker 
Organization:   musl libc 
User Reference:  
Section:XSH 2.5 
Page Number:unknown 
Line Number:unknown 
Interp Status:  Approved 
Final Accepted Text:   
https://www.austingroupbugs.net/view.php?id=689#c6428 
== 
Date Submitted: 2013-05-05 15:37 UTC
Last Modified:  2023-10-02 14:30 UTC
== 
Summary:Possibly unintended allowance for stdio deadlock
== 

-- 
 (0006504) agadmin (administrator) - 2023-10-02 14:30
 https://www.austingroupbugs.net/view.php?id=689#c6504 
-- 
Interpretation approved: 2 October 2023 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2013-05-05 15:37 dalias New Issue
2013-05-05 15:37 dalias Status   New => Under Review 
2013-05-05 15:37 dalias Assigned To   => ajosey  
2013-05-05 15:37 dalias Name  => Rich Felker 
2013-05-05 15:37 dalias Organization  => musl libc   
2013-05-05 15:37 dalias Section   => XSH 2.5 
2013-05-05 15:37 dalias Page Number   => unknown 
2013-05-05 15:37 dalias Line Number   => unknown 
2013-05-05 17:13 jilles Note Added: 0001588  
2013-05-05 18:11 dalias Note Added: 0001589  
2013-05-07 11:08 geoffclare Note Added: 0001591  
2015-05-07 08:34 dancol Issue Monitored: dancol  
2023-08-10 16:29 geoffclare Note Added: 0006428  
2023-08-10 16:31 geoffclare Interp Status => Pending 
2023-08-10 16:31 geoffclare Final Accepted Text   =>
https://www.austingroupbugs.net/view.php?id=689#c6428
2023-08-10 16:31 geoffclare Status   Under Review =>
Interpretation Required
2023-08-10 16:31 geoffclare Resolution   Open => Accepted As
Marked
2023-08-10 16:31 geoffclare Tag Attached: issue8 
2023-08-14 16:07 agadminInterp StatusPending => Proposed 
2023-08-14 16:07 agadminNote Added: 0006432  
2023-10-02 14:30 agadminInterp StatusProposed => Approved
2023-10-02 14:30 agadminNote Added: 0006504  
==




[1003.1(2008)/Issue 7 0000689]: Possibly unintended allowance for stdio deadlock

2023-08-14 Thread Austin Group Bug Tracker via austin-group-l at The Open Group


The following issue has been UPDATED. 
== 
https://www.austingroupbugs.net/view.php?id=689 
== 
Reported By:dalias
Assigned To:ajosey
== 
Project:1003.1(2008)/Issue 7
Issue ID:   689
Category:   System Interfaces
Type:   Clarification Requested
Severity:   Editorial
Priority:   normal
Status: Interpretation Required
Name:   Rich Felker 
Organization:   musl libc 
User Reference:  
Section:XSH 2.5 
Page Number:unknown 
Line Number:unknown 
Interp Status:  Proposed 
Final Accepted Text:   
https://www.austingroupbugs.net/view.php?id=689#c6428 
== 
Date Submitted: 2013-05-05 15:37 UTC
Last Modified:  2023-08-14 16:07 UTC
== 
Summary:Possibly unintended allowance for stdio deadlock
== 

-- 
 (0006432) agadmin (administrator) - 2023-08-14 16:07
 https://www.austingroupbugs.net/view.php?id=689#c6432 
-- 
Interpretation proposed: 14 August 2023 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2013-05-05 15:37 dalias New Issue
2013-05-05 15:37 dalias Status   New => Under Review 
2013-05-05 15:37 dalias Assigned To   => ajosey  
2013-05-05 15:37 dalias Name  => Rich Felker 
2013-05-05 15:37 dalias Organization  => musl libc   
2013-05-05 15:37 dalias Section   => XSH 2.5 
2013-05-05 15:37 dalias Page Number   => unknown 
2013-05-05 15:37 dalias Line Number   => unknown 
2013-05-05 17:13 jilles Note Added: 0001588  
2013-05-05 18:11 dalias Note Added: 0001589  
2013-05-07 11:08 geoffclare Note Added: 0001591  
2015-05-07 08:34 dancol Issue Monitored: dancol  
2023-08-10 16:29 geoffclare Note Added: 0006428  
2023-08-10 16:31 geoffclare Interp Status => Pending 
2023-08-10 16:31 geoffclare Final Accepted Text   =>
https://www.austingroupbugs.net/view.php?id=689#c6428
2023-08-10 16:31 geoffclare Status   Under Review =>
Interpretation Required
2023-08-10 16:31 geoffclare Resolution   Open => Accepted As
Marked
2023-08-10 16:31 geoffclare Tag Attached: issue8 
2023-08-14 16:07 agadminInterp StatusPending => Proposed 
2023-08-14 16:07 agadminNote Added: 0006432  
==




[1003.1(2008)/Issue 7 0000689]: Possibly unintended allowance for stdio deadlock

2023-08-10 Thread Austin Group Bug Tracker via austin-group-l at The Open Group


The following issue NEEDS AN INTERPRETATION. 
== 
https://austingroupbugs.net/view.php?id=689 
== 
Reported By:dalias
Assigned To:ajosey
== 
Project:1003.1(2008)/Issue 7
Issue ID:   689
Category:   System Interfaces
Type:   Clarification Requested
Severity:   Editorial
Priority:   normal
Status: Interpretation Required
Name:   Rich Felker 
Organization:   musl libc 
User Reference:  
Section:XSH 2.5 
Page Number:unknown 
Line Number:unknown 
Interp Status:  Pending 
Final Accepted Text:https://austingroupbugs.net/view.php?id=689#c6428 
== 
Date Submitted: 2013-05-05 15:37 UTC
Last Modified:  2023-08-10 16:31 UTC
== 
Summary:Possibly unintended allowance for stdio deadlock
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2013-05-05 15:37 dalias New Issue
2013-05-05 15:37 dalias Status   New => Under Review 
2013-05-05 15:37 dalias Assigned To   => ajosey  
2013-05-05 15:37 dalias Name  => Rich Felker 
2013-05-05 15:37 dalias Organization  => musl libc   
2013-05-05 15:37 dalias Section   => XSH 2.5 
2013-05-05 15:37 dalias Page Number   => unknown 
2013-05-05 15:37 dalias Line Number   => unknown 
2013-05-05 17:13 jilles Note Added: 0001588  
2013-05-05 18:11 dalias Note Added: 0001589  
2013-05-07 11:08 geoffclare Note Added: 0001591  
2015-05-07 08:34 dancol Issue Monitored: dancol  
2023-08-10 16:29 geoffclare Note Added: 0006428  
2023-08-10 16:31 geoffclare Interp Status => Pending 
2023-08-10 16:31 geoffclare Final Accepted Text   =>
https://austingroupbugs.net/view.php?id=689#c6428
2023-08-10 16:31 geoffclare Status   Under Review =>
Interpretation Required
2023-08-10 16:31 geoffclare Resolution   Open => Accepted As
Marked
==




[1003.1(2008)/Issue 7 0000689]: Possibly unintended allowance for stdio deadlock

2023-08-10 Thread Austin Group Bug Tracker via austin-group-l at The Open Group


A NOTE has been added to this issue. 
== 
https://austingroupbugs.net/view.php?id=689 
== 
Reported By:dalias
Assigned To:ajosey
== 
Project:1003.1(2008)/Issue 7
Issue ID:   689
Category:   System Interfaces
Type:   Clarification Requested
Severity:   Editorial
Priority:   normal
Status: Under Review
Name:   Rich Felker 
Organization:   musl libc 
User Reference:  
Section:XSH 2.5 
Page Number:unknown 
Line Number:unknown 
Interp Status:  --- 
Final Accepted Text: 
== 
Date Submitted: 2013-05-05 15:37 UTC
Last Modified:  2023-08-10 16:29 UTC
== 
Summary:Possibly unintended allowance for stdio deadlock
== 

-- 
 (0006428) geoffclare (manager) - 2023-08-10 16:29
 https://austingroupbugs.net/view.php?id=689#c6428 
-- 
Interpretation response


The standard does not speak to this issue, and as such no conformance
distinction can be made between alternative implementations based on this.
This is being referred to the sponsor.

Rationale:
-
There are possible deadlocks in multi-threaded applications that were not
considered when POSIX added support for threading.

Notes to the Editor (not part of this interpretation):
---
After Issue 8 draft 3 page 520 line 18489 section 2.5:All
functions that read, write, position, or query the position of a stream,
except those with names ending _unlocked, shall lock the stream as if by a
call to flockfile( ) before accessing it and release the lock as if by a
call to funlockfile( ) when the access is
complete.add:[CX]If the lock is not immediately
available, the function shall wait for it to become available, except in
the following circumstances. If the stream is line buffered and is open for
writing or for update, and the reason the function is attempting to lock
the stream is because it is going to request input on another stream that
is unbuffered, or is line buffered and requires the transmission of
characters from the host environment (see above), then the function shall
attempt to determine whether a deadlock situation exists.  If a deadlock
situation is found to exist, the function shall fail. If the function is
able to establish that a deadlock situation does not exist, it shall wait
for the lock to become available. If the function does not establish
whether or not a deadlock situation exists, it shall continue as if it had
already locked the stream, found its buffer to be empty, and released the
lock.[/CX] 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2013-05-05 15:37 dalias New Issue
2013-05-05 15:37 dalias Status   New => Under Review 
2013-05-05 15:37 dalias Assigned To   => ajosey  
2013-05-05 15:37 dalias Name  => Rich Felker 
2013-05-05 15:37 dalias Organization  => musl libc   
2013-05-05 15:37 dalias Section   => XSH 2.5 
2013-05-05 15:37 dalias Page Number   => unknown 
2013-05-05 15:37 dalias Line Number   => unknown 
2013-05-05 17:13 jilles Note Added: 0001588  
2013-05-05 18:11 dalias Note Added: 0001589  
2013-05-07 11:08 geoffclare Note Added: 0001591  
2015-05-07 08:34 dancol Issue Monitored: dancol  
2023-08-10 16:29 geoffclare Note Added: 0006428  
==