guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: safe & encapsulated envs?


From: Dirk Herrmann
Subject: Re: safe & encapsulated envs?
Date: Thu, 1 Feb 2001 11:24:40 +0100 (MET)

On Thu, 1 Feb 2001, Han-Wen Nienhuys wrote:

> 1.    How do I create safe execution environments?

Not that I have used it for myself, but here's a NEWS entry about how to
do it with CVS guile:

--------------------------- Begin NEWS -----------------------
** It's now possible to create modules with controlled environments

Example:

(use-modules (ice-9 safe))
(define m (make-safe-module))
;;; m will now be a module containing only a safe subset of R5RS
(eval '(+ 1 2) m) --> 3
(eval 'load m) --> ERROR: Unbound variable: load
---------------------------- End NEWS ------------------------

I can't answer the second question, sorry.  However, this is certainly the
right list to as such questions.

Best regards,
Dirk Herrmann




reply via email to

[Prev in Thread] Current Thread [Next in Thread]