From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 3d38d1d: Add sqlite3 support to Emacs Date: Wed, 15 Dec 2021 15:26:12 +0800 Message-ID: <8735mutjl7.fsf@yahoo.com> References: <20211211035614.15517.53830@vcs0.savannah.gnu.org> <20211211035616.984DD20A0A@vcs0.savannah.gnu.org> <87ee6j4ty4.fsf@yahoo.com> <8735mz4o70.fsf@yahoo.com> <83k0gbr0dm.fsf@gnu.org> <87y24r33bn.fsf@yahoo.com> <87ilvu1ldh.fsf@yahoo.com> <87a6h5tap6.fsf@gnus.org> <87tufbu7jg.fsf@yahoo.com> <87y24nr6nk.fsf@gnus.org> <87lf0ntz0t.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5686"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: larsi@gnus.org, stefankangas@gmail.com, eliz@gnu.org, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 15 08:37:20 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mxOql-0001Gq-JB for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Dec 2021 08:37:19 +0100 Original-Received: from localhost ([::1]:46924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxOqj-0004wQ-FV for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Dec 2021 02:37:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxOgF-0007Kc-V9 for emacs-devel@gnu.org; Wed, 15 Dec 2021 02:26:32 -0500 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:38842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxOgC-0003NE-TG for emacs-devel@gnu.org; Wed, 15 Dec 2021 02:26:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639553182; bh=U5pRbmk3xaILM36fYKlGjAZGzuZAB4izDjtGXmUIzRU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=TXUcRiSwu59VLj3rNZTrwXQFJglr6yr1dYJJufBuR5lDDxBGErF8tO+uqzmAzYpkOfXH3daGgM/IJ+MQ7gYB9vrPWQ+MItZF06yWv2onbSyJF6iV5aE1Asycdt9IKpQ0C/K3G1+ryAYkp2aAjHgRNvQre9we1mKmAg7gcLeca69gotPX00TIqMwXo3GhhZE5NiK3Me7mVkpRpz7YpCRKGu7cHG4T68rjOGC42Cm+OZhgDwDBd/MXCHPDeDLSJhfaPpZceHWXWKrLN+V70/7Eo5mgKYzKTsMR2OHReMDM8oWk4qvNICI5oySDTQWMhHav4ABNkad0CkjO6HnkTdZFWw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639553182; bh=LQP12GCoV7NWrVJ2Fp9FNqf5zoBxK6bUJfCwCu7b+Eq=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=cu7g4bWVas3O5DBvQlxKmI42pGHuVkm6heas6u+L1PjLBKAecSK7yWgGNTsC0ptNisLmClnMsIL59T4CZ/ewtCidToY2BsOgvMddPBKtwFhj3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hSu9XJOmBIbc3IwSjxl3u X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Wed, 15 Dec 2021 07:26:22 +0000 Original-Received: by kubenode508.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 774d7146f94cbc0fb32a8bfccd631ab3; Wed, 15 Dec 2021 07:26:17 +0000 (UTC) In-Reply-To: (Richard Stallman's message of "Wed, 15 Dec 2021 00:15:22 -0500") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.148; envelope-from=luangruo@yahoo.com; helo=sonic314-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281980 Archived-At: Richard Stallman writes: > Lars metioned something called LD_PRELOAD. I don't know what that is, > and I can't find it in the documentation I have here. I don't know > whether it makes a difference for this issue, and I would like to > study that question. > > Would someone please point me at an explanation of what LD_PRELOAD > does, with docs for how to use it? Also, which part of the GNU/Linux > system implements it? It's implemented by the dynamic linker component of the GNU C Library. See the sections "environment" and "files" of the manual page for ld.so, but if that's not on your system, here are the relevant parts for your convenience. LD_PRELOAD A list of additional, user-specified, ELF shared objects to= be loaded before all others. This feature can be used to sel= ec=E2=80=90 tively override functions in other shared objects. The items of the list can be separated by spaces or colons, = and there is no support for escaping either separator. The obje= cts are searched for using the rules given under DESCRIPTION. = Ob=E2=80=90 jects are searched for and added to the link map in the left-= to- right order specified in the list. In secure-execution mode, preload pathnames containing slas= hes are ignored. Furthermore, shared objects are preloaded o= nly from the standard search directories and only if they have s= et- user-ID mode bit enabled (which is not typical). Within the names specified in the LD_PRELOAD list, the dyna= mic linker understands the tokens $ORIGIN, $LIB, and $PLATFORM = (or the versions using curly braces around the names) as descri= bed above in Dynamic string tokens. (See also the discussion= of quoting under the description of LD_LIBRARY_PATH.) There are various methods of specifying libraries to be p= re=E2=80=90 loaded, and these are handled in the following order: (1) The LD_PRELOAD environment variable. (2) The --preload command-line option when invoking the dyna= mic linker directly. (3) The /etc/ld.so.preload file (described below). /etc/ld.so.preload File containing a whitespace-separated list of ELF shared = ob=E2=80=90 jects to be loaded before the program. See the discussion = of LD_PRELOAD above. If both LD_PRELOAD and /etc/ld.so.preload = are employed, the libraries specified by LD_PRELOAD are preloa= ded first. /etc/ld.so.preload has a system-wide effect, causing = the specified libraries to be preloaded for all programs that = are executed on the system. (This is usually undesirable, and= is typically employed only as an emergency remedy, for example, = as a temporary workaround to a library misconfiguration issue.)