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 B84803054D0 for ; Mon, 5 Jan 2026 17:41:17 +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=1767634879; cv=none; b=Y+WnZRM6o9A/hlnN2dvR+3QB4GcmSfX7hD4cuiLsgIIzC6MUMedKBAIUf91pYBu4Cw+S7GZtOZQCWdlbbkZ6EI4RtTgtwwfPkAUOfMySX4gpvVRhSSEknA/f5T0y9O+dB+VQzgH/ZJxmD5JgRRQbEZt5/ncOcq1I/gVLnMPUC14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767634879; c=relaxed/simple; bh=M9WTWOSvTnD29GTOFEkpuAEIN2alIIiFaAcne2CPLcA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XEH4B3OU3ig2sjDLApfDGOaQ5bshJtB/E/U7M5WYYfTcqZOCnkAVVo/nzJbPoOtZ/TkslnxZV1s8NdzEDyK6wifmQ/5Dr6rbu7+LSLuF8CO66H8BSPedS72q03G/QVzqI1LJ7oI8TJ3HOc6qCtHtBvvkhe0LsbCw+NdKxjw5VCY= 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=BUE7Krwk; 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="BUE7Krwk" 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=A1IX3lUawT1R+538JiIOb75kx2rpDebfsphI7gZsxBM=; b=BUE7KrwkMEZR90vY xsSbARtR0Ed0YxAFP+C0yk/fLJjAvP5T6HfuuPmMi/yFsmn4/MD9yOuzhYyN9nRT0qVP1WCVpKV+f EPbG3LS6MbGAEI2sT97fcGubZA5Kt+/M0Cu15hxE00LlZC2CxpqFIlO2g6w1vt38vD+zjsxsoEcfy Oe/6i2Wj93Fi2TAqKCWtbdYhPp8zm4K7yvVlR62ENmXS3+XflVij07dOsL2zDx5ZIu14scDUxX1tF VzF8ti2irlaTQZ2zzCbM4nau7lIGPDpOTaL0nZtj3I8GG0OspatjZmCDGp9AwYkvS+Lxd3BHnwiaR KrUDy86AQ+qZGFebCw==; Received: from localhost ([127.0.0.1] helo=dalek) by mx.treblig.org with esmtp (Exim 4.98.2) (envelope-from ) id 1vcoZv-0000000CVYK-1I3v; Mon, 05 Jan 2026 17:41:15 +0000 From: dg@treblig.org To: alx@kernel.org, linux-man@vger.kernel.org Cc: "Dr. David Alan Gilbert" Subject: [PATCH v3] man/man5/gai.conf: Document glibc label additions Date: Mon, 5 Jan 2026 17:41:06 +0000 Message-ID: <20260105174106.220924-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 --- v2/3 With semantic newlines man/man5/gai.conf.5 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/man/man5/gai.conf.5 b/man/man5/gai.conf.5 index ef330995d..879ba5aaf 100644 --- a/man/man5/gai.conf.5 +++ b/man/man5/gai.conf.5 @@ -87,6 +87,22 @@ .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