From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.user Subject: Re: safe guile Date: Wed, 09 Oct 2002 12:02:07 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-user-admin@gnu.org Message-ID: References: <20021009133529.GA1271@ventus.lan> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034179531 5460 127.0.0.1 (9 Oct 2002 16:05:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2002 16:05:31 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17zJKy-0001PQ-00 for ; Wed, 09 Oct 2002 18:05:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zJIw-0000iz-00; Wed, 09 Oct 2002 12:03:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17zJHp-0008Js-00 for guile-user@gnu.org; Wed, 09 Oct 2002 12:02:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17zJHk-0008Ik-00 for guile-user@gnu.org; Wed, 09 Oct 2002 12:02:12 -0400 Original-Received: from multivac.student.cwru.edu ([129.22.96.25] helo=multivac.cwru.edu) by monty-python.gnu.org with smtp (Exim 4.10) id 17zJHk-0008Id-00 for guile-user@gnu.org; Wed, 09 Oct 2002 12:02:08 -0400 Original-Received: (qmail 20726 invoked by uid 500); 9 Oct 2002 16:02:29 -0000 Original-To: Major A In-Reply-To: <20021009133529.GA1271@ventus.lan> (Major A's message of "Wed, 9 Oct 2002 14:35:32 +0100") Mail-Copies-To: nobody Mail-Followup-To: Major A , guile-user@gnu.org Original-Lines: 14 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1178 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1178 Major A wrote: > I would like to have a plain library which simply executes R5RS and > nothing more, only the symbols explicitly declared via the gh > interface are available to the Scheme code. You can create a new module like this: (use-modules (ice-9 safe)) (define new-module (make-safe-module)) You can remove some bindings fom that module, and then any code you eval in that module won't be able to use those procedures. paul _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user