public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/28299] New: Network namespace argument specified to be AF_LOCAL
@ 2021-09-01 18:33 izhangyuxing at gmail dot com
  2021-09-02  0:16 ` [Bug manual/28299] " mtk.manpages at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: izhangyuxing at gmail dot com @ 2021-09-01 18:33 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 28299
           Summary: Network namespace argument specified to be AF_LOCAL
           Product: glibc
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: izhangyuxing at gmail dot com
                CC: mtk.manpages at gmail dot com
  Target Milestone: ---

In chapter 16.8.3 Socket Pairs, in the paragraph describing function
socketpair, it is stated that the argument namespace must be AF_LOCAL. However,
AF_LOCAL is the address family of the corresponding namespace PF_LOCAL, which
should have been specified instead.

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

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

* [Bug manual/28299] Network namespace argument specified to be AF_LOCAL
  2021-09-01 18:33 [Bug manual/28299] New: Network namespace argument specified to be AF_LOCAL izhangyuxing at gmail dot com
@ 2021-09-02  0:16 ` mtk.manpages at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: mtk.manpages at gmail dot com @ 2021-09-02  0:16 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Michael Kerrisk <mtk.manpages at gmail dot com> ---
(In reply to Yuxing Zhang from comment #0)
> In chapter 16.8.3 Socket Pairs, in the paragraph describing function
> socketpair, it is stated that the argument namespace must be AF_LOCAL.
> However, AF_LOCAL is the address family of the corresponding namespace
> PF_LOCAL, which should have been specified instead.

This is questionable. In the original conception, it was intended that there
might be a one-to-many relationship between PF_* and AF_*. But, in practice,
there's always been a one-to-one correspondence between the AF_* and PF_*
constants, as far as I know. POSIX does not even specify the PF_* constants.
Stevens UNPv1 has more to say about this.

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

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

end of thread, other threads:[~2021-09-02  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 18:33 [Bug manual/28299] New: Network namespace argument specified to be AF_LOCAL izhangyuxing at gmail dot com
2021-09-02  0:16 ` [Bug manual/28299] " mtk.manpages at gmail dot com

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).