Skip to contentSkip to conversation

man/man5/gai.conf: Document glibc label additions

PATCH In review [email protected] 2 participants 2 messages Jan 5 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 man/man5/gai.conf: Document glibc label additions

From: "Dr. David Alan Gilbert" <[email protected]>

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.

---
v4
Close the .in

 man/man5/gai.conf.5 | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
man/man5/gai.conf.5 +17 -0
index ef330995d..b602acc7c 100644
@@ -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 <[email protected]>
 .\"
Signature · 1 line
2.52.0
#1 lore raw

Hi Dave,

Quoted 10 lines · On Mon, Jan 05, 2026 at 05:44:01PM +0000, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

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.

Thanks! I've applied the patch.

Quoted 11 lines

---
v4
Close the .in

 man/man5/gai.conf.5 | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
man/man5/gai.conf.5 +0 -0
index ef330995d..b602acc7c 100644

man/man5/gai.conf.5 .SH EXAMPLES · line 94

Quoted 7 lines
man/man5/gai.conf.5 +4 -0
@@ -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

Quoted 19 lines
man/man5/gai.conf.5 +13 -0
+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 <[email protected]>
 .\"
Signature · 1 line
2.52.0
Signature · 1 line
<https://www.alejandro-colomar.es>