[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Secure Lua
- From: Daniel Silverstone <dsilvers@...>
- Date: Mon, 21 Nov 2005 23:56:16 +0000
On Mon, 2005-11-21 at 15:50 -0800, Erik Cassel wrote:
> Now here's a problem: Coroutines are a subset of the base library, which
> means you can't use coroutines without exposing "dofile", "loadfile" and
> "require".
So, once you've opened the base library, run some initialisation code.
In that code you can do:
dofile = nil
loadfile = nil
require = nil
Problem thusly solved :-)
D.
--
Daniel Silverstone http://www.digital-scurf.org/
PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895