I'm running a service that allows users to submit code which is compiled and executed on the server.
At the moment I'm using Moe and while it works fine for C and C++ code, I've been having some weird issues with other languages such as Perl and PHP on 64 bit.
Is there any secure way to run possibly unsafe code that works properly on 64 bit?
I've had success running all sorts of languages like Perl, Lua and PHP on 32 bit systems in the past with both Moe and my own ptrace based sandbox, but neither work perfectly on 64 bit.
chroot? – rahmu Dec 20 '11 at 14:28