Skip to content

{unix,socket,bind}.7: General Unix Domain Socket fixes

Günther Noack linux-man 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 0 repliesNew
  2. v26 patches 7 repliesSuperseded
  3. v18 patches 19 repliesSuperseded

Changes in v3 from the cover letter

* Mention EADDRINUSE in commit message for error code patch.
* Dropped already-merged commits (all but the one about error codes)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1man/man7/unix.7: ERRORS: Document EACCES, EAGAIN, EMSGSIZE, ENOSPC, and EPERMman/man7/unix.7+34 -20 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchKuniyuki Iwashima
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/1] {unix,socket,bind}.7: General Unix Domain Socket fixes

Hello!

This is patch set (A) spun off from the "Documentation fixes in unix(7)" patch set [1], which is now split into these three parts:

(A) Miscellaneous fixes, mostly in unix.7, one in socket.7 <-- this one
(B) Socket options and Socket-level Control Messages (SCM_*)
(C) sock_diag.7

This patch set fixes miscellaneous inaccuracies and documents missing error codes. It applies cleanly on the current "master".

Thank you for your reviews of v1 and v2 of the still-joined patch set, as well as of v1 of the split patch set.

Changes in v3 (split):

* Mention EADDRINUSE in commit message for error code patch.
* Dropped already-merged commits (all but the one about error codes)

Changes in v2 (split):

* Mention commit hashes in commit messages, not in groff comments
* In SIOCINQ docs, describe SOCK_STREAM and SOCK_SEQPACKET together
* s/Named Unix Domain Sockets/pathname Unix Domain Sockets/
* Abstract namespaces: Wording simplifications
* Error descriptions: Wording simplifications
* Dropped commits:
* Drop the commit that documented SOCK_RAW as alias for SOCK_DGRAM
* Drop the commit that documented the socket() "protocol" argument 0 is acceptable to avoid EPROTONOSUPPORT
* Drop commits that already made it into the master branch.

Changes in v1 (split):

* Some commit message rewording (especially quoted the kernel code more directly).
* In the Abstract UDS scoping commit below, reworded the subsequent paragraph sligthly to avoid confusion with the "namespace" terminology being used differently in adjacent paragraphs.
* I removed the commit that changed the wording about Out-of-Band messaging, per Kuniyuki's suggestion in [2].

v1: https://lore.kernel.org/all/[email protected]/
v2: https://lore.kernel.org/all/[email protected]/

This patch set has been produced with the help of a LLM, which was helpful for spotting a long list of inaccuracies, comparing the documentation with the kernel implementation. (More details in [1])

–Günther

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/CAAVpQUBh+J-aBLbkpzT7qmt7B714O529HWcTuQsVLT4wLBnDJA@mail.gmail.com/

Günther Noack (1):
man/man7/unix.7: ERRORS: Document EACCES, EAGAIN, EMSGSIZE, ENOSPC,
and EPERM

 man/man7/unix.7 | 36 ++++++++++++++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)
Signature · 1 line
2.56.1