From nobody Sun Sep 18 22:50:00 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MW30n1g0Rz4cXfb; Sun, 18 Sep 2022 22:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MW30n0zp1z3Cc2; Sun, 18 Sep 2022 22:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663541401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t02t5GGTWnAs6+in1u6Qj17hsFAxPEHm2NUEWmonSp0=; b=YJtxmg2QU8yCnjsQ68Ce0cFvAR7PYF4AhLxIPKbo+X55gljZ4QZAcefPf+w7zUWTYwMbsB +oLd1Hf++EwtVDHZEV4NTu4YrKxvZ9toyuzudaIeVi8MwXKNRV8/o7JcuSlTN1ShTZqp3v 9OL2e+s0k/gaRArljqWsWgv9u7FmrFllg8tpNr3xnS8zk4nLSA7H1upGdKkHRzEt05BioV vhui+YtfmCnexEqfp295LXVTnJr1wTvemtJ2zOumDpDQwShMedjwtJEjmPMFwsnRCJL6si BDNYBT31rk+nfFSTDqSmBiMk6W9Ghr2gag21Pc4mB1lnYG76pHDAeNTLr3XpTw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MW30n04cxz19qm; Sun, 18 Sep 2022 22:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28IMo0v9087048; Sun, 18 Sep 2022 22:50:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28IMo0gQ087037; Sun, 18 Sep 2022 22:50:00 GMT (envelope-from git) Date: Sun, 18 Sep 2022 22:50:00 GMT Message-Id: <202209182250.28IMo0gQ087037@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 1251cf8a30ac - main - rtld-elf/libmap.c: correct comment List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1251cf8a30ac496e8c672948dabb9291a17ad71a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663541401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t02t5GGTWnAs6+in1u6Qj17hsFAxPEHm2NUEWmonSp0=; b=Fg8HF43vdd+PZEOOC1KkL6ZjVZBUdcS0eYRiwGjQLoGaghzHGxA4vYGWejnolB5HdQPKiZ 05AhykmMvabpsuTM98+O7Btw/TkWC4Teew3XFusQnnu5K0GDkBTKqN9KP1THXjdlTNXpb1 4LEgUG7zSAz3h3ShO5HS/KuhAx5Vt1USG7Jo+1aI2+ENS30U3uxdk+HGzQjGTble9pept0 VUeU4XUojfZZkEjFg1Ue0np1BO+TmcSMNn19YiEFjBjCK4GNvo0WEgzkgg4vIiWTdM9glb 5sx0wugK4w2j/z380OSWYaDVE59FTPCUsxX7e0NAHDeSQ7rJ5u3R+fTXz6VuSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663541401; a=rsa-sha256; cv=none; b=xuQNW3B8pgTwSfbEYPJgG9U8gzrdzqrnFoTzXzp/kl9hgFJLZbdzwBdDIwv7OFjQQIcd6J vdPLpCcNKgcIkWGMHbPX0I0cwhiU3nRBsDd8mfbd6KRAElGnpYzc9vC6Wyp5UIBOZfpTyT QaMIrijI88qrmeSL4NPhHPuCzgKZKFJs6Qr2/QGvmWeayh4FmfStYjPziLQ4bp4uOg5cq2 /DUkUbkYFbQq3BdCXVkaKgE88tW4Dnv8yojgcaHV+1ZIy5WjIOeetdvmhFjBig+skfMmnA t50vpvXOsv+1/u7DAeYf+ZWKK/Tyrmq2VTJBrGwFo042NcNgERFs0NLWKvozkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1251cf8a30ac496e8c672948dabb9291a17ad71a commit 1251cf8a30ac496e8c672948dabb9291a17ad71a Author: Konstantin Belousov AuthorDate: 2022-09-18 22:16:52 +0000 Commit: Konstantin Belousov CommitDate: 2022-09-18 22:49:41 +0000 rtld-elf/libmap.c: correct comment There is no intent to support TLS for rtld. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- libexec/rtld-elf/libmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rtld-elf/libmap.c b/libexec/rtld-elf/libmap.c index 854c73f39ef7..5a7c01f9d179 100644 --- a/libexec/rtld-elf/libmap.c +++ b/libexec/rtld-elf/libmap.c @@ -58,8 +58,8 @@ static const char *quickbasename(const char *); ((c) == '\n') || ((c) == '\r')) /* - * Do not use ctype.h macros, which rely on working TLS. It is - * too early to have thread-local variables functional. + * Do not use ctype.h macros, which rely on working TLS. Rtld does + * not support TLS for itself. */ #define rtld_isspace(c) ((c) == ' ' || (c) == '\t')