public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/30247] New: all socket options should be available with _XOPEN_SOURCE. not merely _GNU_SOURCE
@ 2023-03-20  0:24 jscott at posteo dot net
  2023-03-21  4:18 ` [Bug network/30247] " sam at gentoo dot org
  2023-04-04  9:58 ` schwab@linux-m68k.org
  0 siblings, 2 replies; 3+ messages in thread
From: jscott at posteo dot net @ 2023-03-20  0:24 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=30247

            Bug ID: 30247
           Summary: all socket options should be available with
                    _XOPEN_SOURCE. not merely _GNU_SOURCE
           Product: glibc
           Version: 2.36
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: jscott at posteo dot net
  Target Milestone: ---

Hi,

POSIX Issue 7 says that identifiers starting with 'SO' (no underscore required)
are reserved to the implementation (only if XSI conformance is requested;
_POSIX_C_SOURCE isn't good enough). Thus, that means it is safe to expose
socket options like SO_PROTOCOL, and in fact it would be helpful for
application maintainers who want to use this enhanced functionality (like me!)

Note that SO_PROTOCOL in particular is planned for POSIX Issue 8, but this bug
is about unleashing all socket options to XSI applications.

Thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-04  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20  0:24 [Bug network/30247] New: all socket options should be available with _XOPEN_SOURCE. not merely _GNU_SOURCE jscott at posteo dot net
2023-03-21  4:18 ` [Bug network/30247] " sam at gentoo dot org
2023-04-04  9:58 ` schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).