public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] man/man5/gai.conf: Document glibc label additions
@ 2026-01-05 17:39 dg
  2026-01-05 17:39 ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 2+ messages in thread
From: dg @ 2026-01-05 17:39 UTC (permalink / raw)
  To: alx, linux-man; +Cc: Dr. David Alan Gilbert

From: "Dr. David Alan Gilbert" <dave@treblig.org>

Glibc includes some extra entries in its default label table
as listed in the gai.conf it distributes:
   https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/gai.conf

Update the EXAMPLES to include the spec default and the version glibc
actually uses.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
---
v2
  Semantic newlines added.

 man/man5/gai.conf.5 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/man/man5/gai.conf.5 b/man/man5/gai.conf.5
index ef330995d..0d3c86842 100644
--- a/man/man5/gai.conf.5
+++ b/man/man5/gai.conf.5
@@ -87,6 +87,20 @@ .SH EXAMPLES
 precedence ::/96          20
 precedence ::ffff:0:0/96  10
 .EE
+.P
+Glibc includes some extra rules in the label table for site-local addresses,
+ULA, and Teredo tunnels. Its default label table is:
+.in +4n
+.EX
+label ::1/128        0
+label ::/0           1
+label 2002::/16      2
+label ::/96          3
+label ::ffff:0:0/96  4
+label fec0::/10      5
+label fc00::/7       6
+label 2001:0::/32    7
+.EE
 .in
 .\" .SH AUTHOR
 .\" Ulrich Drepper <drepper@redhat.com>
-- 
2.52.0


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

* Re: [PATCH v2] man/man5/gai.conf: Document glibc label additions
  2026-01-05 17:39 [PATCH v2] man/man5/gai.conf: Document glibc label additions dg
@ 2026-01-05 17:39 ` Dr. David Alan Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. David Alan Gilbert @ 2026-01-05 17:39 UTC (permalink / raw)
  To: alx, linux-man

* dg@treblig.org (dg@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <dave@treblig.org>
> 
> Glibc includes some extra entries in its default label table
> as listed in the gai.conf it distributes:
>    https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/gai.conf
> 
> Update the EXAMPLES to include the spec default and the version glibc
> actually uses.
> 
> Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
> ---
> v2
>   Semantic newlines added.

Erp no, they escaped, try again....

> 
>  man/man5/gai.conf.5 | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/man/man5/gai.conf.5 b/man/man5/gai.conf.5
> index ef330995d..0d3c86842 100644
> --- a/man/man5/gai.conf.5
> +++ b/man/man5/gai.conf.5
> @@ -87,6 +87,20 @@ .SH EXAMPLES
>  precedence ::/96          20
>  precedence ::ffff:0:0/96  10
>  .EE
> +.P
> +Glibc includes some extra rules in the label table for site-local addresses,
> +ULA, and Teredo tunnels. Its default label table is:
> +.in +4n
> +.EX
> +label ::1/128        0
> +label ::/0           1
> +label 2002::/16      2
> +label ::/96          3
> +label ::ffff:0:0/96  4
> +label fec0::/10      5
> +label fc00::/7       6
> +label 2001:0::/32    7
> +.EE
>  .in
>  .\" .SH AUTHOR
>  .\" Ulrich Drepper <drepper@redhat.com>
> -- 
> 2.52.0
> 
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/

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

end of thread, other threads:[~2026-01-05 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 17:39 [PATCH v2] man/man5/gai.conf: Document glibc label additions dg
2026-01-05 17:39 ` Dr. David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox