From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 3B434BC48 for ; Tue, 5 Apr 2005 16:40:06 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j35Ee5o5009103 for ; Tue, 5 Apr 2005 16:40:05 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA32544 for ; Tue, 5 Apr 2005 16:40:05 +0200 (MET DST) Received: from smtp3.epfl.ch (smtp3.epfl.ch [128.178.2.15]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id j35Ee5KU016038 for ; Tue, 5 Apr 2005 16:40:05 +0200 Received: (qmail 8362 invoked by uid 107); 5 Apr 2005 14:40:04 -0000 Received: from mailav1.epfl.ch (128.178.50.190) by smtp3.epfl.ch with SMTP; 5 Apr 2005 14:40:04 -0000 Received: from (128.178.50.133) by MAILAV1.EPFL.CH via smtp id 1237_13949890_a5e0_11d9_8b9d_001143d18479; Tue, 05 Apr 2005 16:36:20 +0200 (CEST) Received: from vpn-epfl-a121.epfl.ch (128.178.83.141) by smtp2.epfl.ch (AngelmatoPhylax SMTP proxy); Tue, 05 Apr 2005 16:40:04 +0200 In-Reply-To: <20050405141744.GA11816@furbychan.cocan.org> References: <20050405121459.GA29378@furbychan.cocan.org> <000f01c539de$c1859fd0$0c05a8c0@PWARP> <20050405131608.GB5103@furbychan.cocan.org> <42529C01.2080609@barettadeit.com> <20050405141744.GA11816@furbychan.cocan.org> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <64cc35e389a90cda37e56ba5d7c7ae85@epfl.ch> Content-Transfer-Encoding: 7bit Cc: caml-list@inria.fr From: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Subject: Re: [Caml-list] Securely loading and running untrusted modules Date: Tue, 5 Apr 2005 16:40:34 +0200 To: Richard Jones X-Mailer: Apple Mail (2.619.2) X-Miltered: at nez-perce with ID 4252A345.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4252A345.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; epfl:01 caml-list:01 untrusted:01 pervasives:01 ocaml:01 dynlink:01 dynlink:01 pervasives:01 caml-list:01 securely:98 020:98 modules:01 thread:02 caml:02 seems:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: > A much more serious problem which I've just found is that _any_ module > (even the empty module) seems to require Pervasives. Thus it seems to > be impossible to create any OCaml code which could be loaded by > Dynlink where Dynlink.allow_only does not specify "Pervasives". Not sure but this seems possible with the -nopervasives option, see this thread : Daniel