[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Sandbox in Lua 5.1
- From: "Francois Retief" <fgretief@...>
- Date: Wed, 28 May 2008 12:02:25 +0200
Hello Tomas,
Yes I know about VEnv and our code use the exact same principles. Resulting
in the same issues.
I also had a look at Rings. But we use C packages in our code which make
Rings unsuitable for our case.
Is there a pure Lua implementation of the 5.1 package functions somewhere?
(require/module/loaders)
The compat-5.1 ones is not 100% the same. I want to substitute the C versions
with pure Lua versions inside the sandbox.
Cheers
Francois
-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Tomas Guisasola
Gorham
Sent: 27 May 2008 06:09 PM
To: Lua list
Subject: Re: Sandbox in Lua 5.1
Hi Francois
Have you checked VEnv (http://www.keplerproject.org/venv/)?
It implements a sandbox just like yours (I think :-) It was developed
for Lua 5.0 (with Compat-5.1) and we stumbled in the same point while
adapting it to Lua 5.1. We gave up and started the development of Rings
-- which is not the same thing -- but it is still usefull in restricted
cases: when there is no need to load a package written in C.
Let me know if you succeed!
Good luck,
Tomás
E-mail Disclaimer
http://www.sunspace.co.za/emaildisclaimer.htm