Skip to contentSkip to conversation

New: Update posixoptions to POSIX.1-2018

Bug 218453 [email protected] 1 participant 6 messages Feb 2, 2024 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=218453

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: [email protected]
Reporter: [email protected]
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
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap02.html

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

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

https://bugzilla.kernel.org/show_bug.cgi?id=218453

--- Comment #1 from Enrique Garcia ([email protected]) ---
There are also two options that are mentioned as "not in final XG6", so I guess those ones could also be removed:

--- - _POSIX_FILE_LOCKING - _SC_FILE_LOCKING
--- - _POSIX_MULTI_PROCESS - _SC_MULTI_PROCESS

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

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

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218453

--- Comment #2 from Enrique Garcia ([email protected]) ---
The following are options that were already always true under POSIX.1-2001 and hence can also be removed:

--- - POSIX_CHOWN_RESTRICTED
--- - _POSIX_JOB_CONTROL - _SC_JOB_CONTROL
--- - _POSIX_NO_TRUNC
--- - _POSIX_REGEXP - _SC_REGEXP
--- - _POSIX_SAVED_IDS - _SC_SAVED_IDS
--- - _POSIX_SHELL - _SC_SHELL

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

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

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218453

--- Comment #3 from Enrique Garcia ([email protected]) --- Created attachment 305816
--> https://bugzilla.kernel.org/attachment.cgi?id=305816&action=edit
posixoptions upgrade to POSIX.1-2018

posixoptions upgrade to POSIX.1-2018

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

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

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218453

--- Comment #5 from Alejandro Colomar ([email protected]) --- Hi Enrique,

Quoted 4 lines · On Fri, Feb 02, 2024 at 08:55:07PM +0000, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=218453

--- Comment #4 from Enrique Garcia ([email protected]) ---
I have created a patch that potentially implements the changes above.

Would you mind sending the patch(es) to the mailing list?

Thanks,
Alex

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.