From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Fri, 10 Oct 2014 22:58:09 +0300 Message-ID: <838uknae9a.fsf@gnu.org> References: <87y4t9m76w.fsf@lifelogs.com> <83lhopb1bp.fsf@gnu.org> <83oatjapq2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1412971135 16717 80.91.229.3 (10 Oct 2014 19:58:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2014 19:58:55 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 10 21:58:47 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XcgKs-0007ar-QZ for ged-emacs-devel@m.gmane.org; Fri, 10 Oct 2014 21:58:46 +0200 Original-Received: from localhost ([::1]:50851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcgKs-0001Pe-Gt for ged-emacs-devel@m.gmane.org; Fri, 10 Oct 2014 15:58:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcgKa-0001Oa-96 for emacs-devel@gnu.org; Fri, 10 Oct 2014 15:58:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcgKV-0000b9-3z for emacs-devel@gnu.org; Fri, 10 Oct 2014 15:58:28 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:41772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcgKU-0000b5-Rc for emacs-devel@gnu.org; Fri, 10 Oct 2014 15:58:23 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0ND800N00U5APS00@mtaout28.012.net.il> for emacs-devel@gnu.org; Fri, 10 Oct 2014 22:56:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ND800LU2VEP3F50@mtaout28.012.net.il>; Fri, 10 Oct 2014 22:56:49 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175237 Archived-At: > From: Stefan Monnier > Cc: Aur=E9lien Aptel , > emacs-devel@gnu.org > Date: Fri, 10 Oct 2014 14:42:56 -0400 >=20 > >> I use the .so extension to know whether a file is a binary modul= e or > >> elisp (compiled or source). > > You cannot know that by the extension alone, anyway. >=20 > Of course, we can: if the extension says ".el" or ".elc" we know it= 's > Elisp (compiled or not), and if it says ".dll", ".so" or something = like > that, we know it's a binary module. That's until you bump into a maliciously named file. > > It's unreliable. >=20 > If the user wants to use ".so" on an Elisp module, she'll get what = she > paid for. I'm really not worried. You don't have to, because loading a shared library will validate it anyway.