404 posts
Location
St. Petersburg
Posted 03 January 2013 - 09:28 PM
does anyone know when in the loading process lua gets sandboxed?
i'm trying to write an OS (more of a shell of an OS, really), and there are some things i want to implement that require some of vanilla lua
8543 posts
Posted 04 January 2013 - 03:42 AM
What are you talking about? What do you mean by "vanilla Lua"? I very strongly suspect that what you're looking to do either doesn't require what you think it does or is impossible. What are you trying to accomplish that makes you think you need an "unsandboxed Lua"?
404 posts
Location
St. Petersburg
Posted 04 January 2013 - 11:01 AM
sockets. i need sockets. also, it would be nice to change the sandboxing to fit my needs, and multiple layers of sandboxes really eats up memory and slows things down.
Edit: also i want to change file permissions in a way that isnt a ridiculous nested if statement.
8543 posts
Posted 04 January 2013 - 11:13 AM
Well, there isn't any unsandboxed lua anywhere within ComputerCraft, but there are peripheral mod(s) that allow you to connect directly to an arbitrary socket. I don't know if they're up to date.
404 posts
Location
St. Petersburg
Posted 05 January 2013 - 01:50 PM
idk how to mark this as solved, but it is. i read the CC source and it is sandboxed in java