public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] man/man5/gai.conf: Document glibc label additions
@ 2026-01-05 17:44 dg
  2026-01-05 17:49 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: dg @ 2026-01-05 17:44 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>
---
v4
  Close the .in
 man/man5/gai.conf.5 | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/man/man5/gai.conf.5 b/man/man5/gai.conf.5
index ef330995d..b602acc7c 100644
--- a/man/man5/gai.conf.5
+++ b/man/man5/gai.conf.5
@@ -88,6 +88,23 @@ .SH EXAMPLES
 precedence ::ffff:0:0/96  10
 .EE
 .in
+.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 v4] man/man5/gai.conf: Document glibc label additions
  2026-01-05 17:44 [PATCH v4] man/man5/gai.conf: Document glibc label additions dg
@ 2026-01-05 17:49 ` Alejandro Colomar
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2026-01-05 17:49 UTC (permalink / raw)
  To: dg; +Cc: linux-man, Dr. David Alan Gilbert

[-- Attachment #1: Type: text/plain, Size: 1583 bytes --]

Hi Dave,

On Mon, Jan 05, 2026 at 05:44:01PM +0000, 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>

Thanks!  I've applied the patch.

> ---
> v4
>   Close the .in
>  man/man5/gai.conf.5 | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 
> diff --git a/man/man5/gai.conf.5 b/man/man5/gai.conf.5
> index ef330995d..b602acc7c 100644
> --- a/man/man5/gai.conf.5
> +++ b/man/man5/gai.conf.5
> @@ -88,6 +88,23 @@ .SH EXAMPLES
>  precedence ::ffff:0:0/96  10
>  .EE
>  .in
> +.P
> +Glibc includes some extra rules in the label table for site-local addresses,
> +ULA,
> +and Teredo tunnels.

I changed the line breaks as

	+Glibc includes some extra rules in the label table
	+for site-local addresses, ULA, and Teredo tunnels.


Have a lovely night!
Alex

> +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
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2026-01-05 17:49 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:44 [PATCH v4] man/man5/gai.conf: Document glibc label additions dg
2026-01-05 17:49 ` Alejandro Colomar

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