From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: code signing with foreign function interface? Date: Mon, 08 Mar 2010 10:20:43 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268061666 17204 80.91.229.12 (8 Mar 2010 15:21:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Mar 2010 15:21:06 +0000 (UTC) Cc: joakim@verona.se, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 08 16:21:00 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NoelK-000328-OW for ged-emacs-devel@m.gmane.org; Mon, 08 Mar 2010 16:20:55 +0100 Original-Received: from localhost ([127.0.0.1]:48857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoelJ-0007rm-T0 for ged-emacs-devel@m.gmane.org; Mon, 08 Mar 2010 10:20:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoelF-0007rh-92 for emacs-devel@gnu.org; Mon, 08 Mar 2010 10:20:49 -0500 Original-Received: from [140.186.70.92] (port=43497 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoelE-0007rZ-Jv for emacs-devel@gnu.org; Mon, 08 Mar 2010 10:20:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoelD-00005z-Uy for emacs-devel@gnu.org; Mon, 08 Mar 2010 10:20:48 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:34970) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoelC-000056-2p; Mon, 08 Mar 2010 10:20:46 -0500 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o28FKh4N017297; Mon, 8 Mar 2010 10:20:43 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 56D133AF6D; Mon, 8 Mar 2010 10:20:43 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Mon, 08 Mar 2010 03:04:47 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3485=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121736 Archived-At: > If code signing of dynamic libraries is employed, the end-user can be > made aware he is breaking the intentions of the GPL. Would this be > enough to satisfy the requirements for an Emacs FFI? > We gave GCC a plug-in interface last year, after developing a method > to make it safer. So now it is ok to do this in Emacs as well. Sounds wonderful. So if I understand http://gcc.gnu.org/onlinedocs/gccint/Plugins.html correctly, all we have to do is to check that the dynamically loaded object defines a global symbol "plugin_is_GPL_compatible"? Stefan