The following issue has been SUBMITTED. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1684 
====================================================================== 
Reported By:                geoffclare
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1684
Category:                   Rationale
Type:                       Error
Severity:                   Comment
Priority:                   normal
Status:                     New
Name:                       Geoff Clare 
Organization:               The Open Group 
User Reference:              
Section:                    E.1 Subprofiling Option Groups 
Page Number:                3907-3913 
Line Number:                135750-136016 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2023-04-24 14:42 UTC
Last Modified:              2023-04-24 14:42 UTC
====================================================================== 
Summary:                    Various fixed needed to subprofiling groups
Description: 
Changes to the subprofiling groups have sometimes been overlooked when
changes affecting them have been made to the normative text.

Note that interfaces that are part of "POSIX options" (i.e. options other
than XSI) or part of XSI option groups are not included, so posix_devctl()
was correctly not added because it is part of the DC option.

The following functions and function-like macros are missing from the
subprofiling groups:

CMPLX()
CMPLXF()
CMPLXL()
_Fork()
asprintf()
be16toh()
be32toh()
be64toh()
futimens()
htobe16()
htobe32()
htobe64()
htole16()
htole32()
htole64()
le16toh()
le32toh()
le64toh()
nl_langinfo_l()
open_wmemstream()
posix_close()
pthread_barrierattr_destroy()
pthread_barrierattr_getpshared()
pthread_barrierattr_init()
pthread_barrierattr_setpshared()
sched_yield()
strerror_l()
strftime_l()
towlower_l()
towupper_l()
utimes()
vasprintf()

The following is in the POSIX_BARRIERS group but does not exist:

pthread_barrierattr()

(It may perhaps have been intended to be pthread_barrierattr_*(), but there
are no other uses of wildcards in the subprofiling groups, so this should
be replaced with the appropriate functions from the "missing" list above.)

The following should not be in the subprofiling groups because they are
part of a POSIX option:

pthread_attr_getstack()
pthread_attr_setstack()

The following are in XSI subprofiling groups but should be in POSIX
groups:

getrlimit()
setrlimit()

In addition, there is an inconsistency in how the "pw" and "gr" functions
are split between XSI_SYSTEM_DATABASE and XSI_USER_GROUPS: endpwent(),
getpwent(), and setpwent() are in XSI_SYSTEM_DATABASE but endgrent(),
getgrent(), and setgrent() are in XSI_USER_GROUPS. The latter should be
moved to XSI_SYSTEM_DATABASE (rather than the other way round) because
getgrgid() and getgrnam() are in POSIX_SYSTEM_DATABASE.

Desired Action: 
On page 3907 line 135754 section E.1 (POSIX_BARRIERS),
change:<blockquote><i>pthread_barrierattr</i>()</blockquote>to:<blockquote><i>pthread_barrierattr_destroy</i>(),
<i>pthread_barrierattr_getpshared</i>(), <i>pthread_barrierattr_init</i>(),
<i>pthread_barrierattr_setpshared</i>()</blockquote>
After page 3907 line 135766 add CMPLX(), CMPLXF(), and CMPLXL() to
POSIX_C_LANG_MATH.

After page 3909 line 135834 add posix_close() to POSIX_DEVICE_IO.

After page 3909 line 135840 add asprintf() and vasprintf() to
POSIX_DEVICE_IO_EXT.

After page 3909 line 135863 add futimens() to POSIX_FILE_SYSTEM.

After page 3910 line 135895 add _Fork() to POSIX_MULTI_PROCESS.

After page 3910 line 135901 add be16toh(), be32toh(), be64toh(), htobe16(),
htobe32(), htobe64(), htole16(), htole32(), htole64(), le16toh(),
le32toh(), and le64toh() to POSIX_NETWORKING.

After page 3910 line 135876 add nl_langinfo_l() to POSIX_I18N.

After page 3910 line 135887 add strerror_l(), strftime_l(), towlower_l(),
and towupper_l() to POSIX_MULTI_CONCURRENT_LOCALES.

After page 3910 line 135895, add getrlimit() and setrlimit() to
POSIX_MULTI_PROCESS

After page 3912 line 135975 add open_wmemstream() to
POSIX_WIDE_CHAR_DEVICE_IO.

After page 3911 line 135950 add sched_yield() to POSIX_THREADS_BASE.

After page 3912 line 135991 add utimes() to XSI_FILE_SYSTEM.

On page 3912 line 136001 delete getrlimit() and setrlimit() from
XSI_MULTI_PROCESS 

After page 3913 line 136006 add endgrent(), getgrent(), and setgrent() to
XSI_SYSTEM_DATABASE.

On page 3913 line 136010 delete:<blockquote>XSI_THREADS_EXT: XSI Threads
Extensions<blockquote><i>pthread_attr_getstack<i>(),
<i>pthread_attr_setstack<i>()</blockquote></blockquote>
On page 3913 line 136013-136014 delete endgrent(), getgrent(), and
setgrent() from XSI_USER_GROUPS.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2023-04-24 14:42 geoffclare     New Issue                                    
2023-04-24 14:42 geoffclare     Name                      => Geoff Clare     
2023-04-24 14:42 geoffclare     Organization              => The Open Group  
2023-04-24 14:42 geoffclare     Section                   => E.1 Subprofiling
Option Groups
2023-04-24 14:42 geoffclare     Page Number               => 3907-3913       
2023-04-24 14:42 geoffclare     Line Number               => 135750-136016   
======================================================================


  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to