From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B0A8320A2C for ; Mon, 5 Jan 2026 17:00:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767632419; cv=none; b=VbpG6barTENF+XPbqOhuH4TumnIOK01uqPfd3e4QHLWTm3Y13xyZGK/lJzb0ZzWlZ8ANvOStWk5P5yr96QJpqfEolTvO19AStLBtswQ3gDfNR3iF9Ui0sIsn4L4gkfd0awBT4jmjYR/4VPtxUWSx1TnMXnSD1WIp+ijyQo2E//E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767632419; c=relaxed/simple; bh=Zh5UND8DcapwcSt7Wnsbzswhzx5iybObQ8DxVyE74QU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qupVCraH8cBZqaV8phT/9w8wBwEffK5VytYZh+KmFPjW68kJ0XFehpCcI5TA6BWFFhnH9lsC6DBvfJbGHiM1edV2pDuUJyFShwpEi/WF6IEJySuKkgM7k0gDtC5/S+u5SeGq2JyX4q1sitwVzFSbERYVDQlpPcwHyAj+1z5QKbQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=ZNqZUIXp; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="ZNqZUIXp" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=4riNX1IHZkWdbkK7w7BDfJrEkiaFHjdHl/vJIXQ9S4c=; b=ZNqZUIXpDP7MpjXF khYhycIGEFytPJZHHsBgUX2MRYMJLHDZIlTFdbJxardyHbZSBRc112bV5WpOStEr9k1jkmyD52mTV 75mipL1VtVYFF/CgCDVlnN3n6Rhetr2UaQkXlu7KaAHVCBdxHMpQfGiD/oLp6npbnLr4GMszXwQ77 SahO+Ydc1Spwdnt2qr5YycSyZ3RHETXslDG7TzaJHM43cxH5WVQSkfLd9rVsdSBrFy39j8aCKIGfq ATXdZXF41UUIH8vumXBzuyjC/C0XtxGJ/i1ryiZDIwJJbxiI8hvbxLSDjN2ea6FlvmDNAk31Tw0yO Sn0PEqujV47Tzxmunw==; Received: from localhost ([127.0.0.1] helo=dalek) by mx.treblig.org with esmtp (Exim 4.98.2) (envelope-from ) id 1vcnwC-0000000CUvT-1IxL; Mon, 05 Jan 2026 17:00:12 +0000 From: dg@treblig.org To: alx@kernel.org, linux-man@vger.kernel.org Cc: "Dr. David Alan Gilbert" Subject: [PATCH] man/man5/gai.conf: Document glibc label additions Date: Mon, 5 Jan 2026 17:00:01 +0000 Message-ID: <20260105170001.209785-1-dg@treblig.org> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-man@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 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 --- 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 -- 2.52.0