[Bug 218453] New: Update posixoptions to POSIX.1-2018

bugzilla-daemon
2024-02-02T19:48:52Z

Bug ID: 218453
Summary: Update posixoptions to POSIX.1-2018
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: man-pages
Assignee: documentation_man-pages@kernel-bugs.osdl.org
Reporter: cquike@arcor.de
Regression: No

The posixoptions(7) man page shows information from POSIX.1-2001 which would be
good to update to POSIX.1-2018 standard. From what I can see the following
options are no longer optional and have been moved to the standard base [1]:

AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO
BAR - _POSIX_BARRIERS - _SC_BARRIERS
CS - _POSIX_CLOCK_SELECTION - _SC_CLOCK_SELECTION
MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES
MPR - _POSIX_MEMORY_PROTECTION - _SC_MEMORY_PROTECTION
--- - _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS
RTS - _POSIX_REALTIME_SIGNALS - _SC_REALTIME_SIGNALS
SEM - _POSIX_SEMAPHORES - _SC_SEMAPHORES
SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS
TSF - _POSIX_THREAD_SAFE_FUNCTIONS - _SC_THREAD_SAFE_FUNCTIONS
THR - _POSIX_THREADS - _SC_THREADS
TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS
TMR - _POSIX_TIMERS - _SC_TIMERS

Also, below "XSI - _XOPEN_UNIX - _SC_XOPEN_UNIX", the following options can be
removed:

_POSIX_MAPPED_FILES
_POSIX_MEMORY_PROTECTION
_POSIX_THREAD_SAFE_FUNCTIONS
_POSIX_THREADS
Legacy (_XOPEN_LEGACY)

[1] The Open Group Base Specifications Issue 7, 2018 edition