From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id B936F3AA903F for ; Thu, 8 Jul 2021 15:43:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B936F3AA903F Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-544-KsSJCSK0OTO9sR7XNjrVRA-1; Thu, 08 Jul 2021 11:43:03 -0400 X-MC-Unique: KsSJCSK0OTO9sR7XNjrVRA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6CEE3100CC9E for ; Thu, 8 Jul 2021 15:42:50 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-115-5.ams2.redhat.com [10.36.115.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F184D19C66 for ; Thu, 8 Jul 2021 15:42:47 +0000 (UTC) From: Florian Weimer To: Florian Weimer via Libc-alpha Subject: Re: [PATCH 30/30] nss: Directly load nss_dns, without going through dlsym/dlopen References: <173b8b3328d263fd01e89562685a5dc14fd37b25.1625755446.git.fweimer@redhat.com> Date: Thu, 08 Jul 2021 17:42:38 +0200 In-Reply-To: <173b8b3328d263fd01e89562685a5dc14fd37b25.1625755446.git.fweimer@redhat.com> (Florian Weimer via Libc-alpha's message of "Thu, 08 Jul 2021 17:07:35 +0200") Message-ID: <87im1klslt.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2021 15:43:07 -0000 * Florian Weimer via Libc-alpha: > This partially fixes static-only NSS support (bug 27959): The dns > module no longer needs dlopen. Support for the files module remains > to be added, and also support for disabling dlopen altogher. > > This commit introduces module_load_builtin into nss/nss_module.c, which > handles the common parts of loading the built-in nss_files and nss_dns > modules. I've fixed the commit message not to mention the files module in the first paragraph. Thanks, Florian