3 ms·
Here is an example of sandboxing a library and then calling functions: rlbox::rlbox_sandbox<rlbox_noop_sandbox> sandbox; sandbox.create_sandbox();
by dmix 5y ago
Here is an example of sandboxing a library and then calling functions:
rlbox::rlbox_sandbox<rlbox_noop_sandbox> sandbox;
sandbox.create_sandbox();
sandbox.invoke_sandbox_function(hello);
https://github.com/PLSysSec/rlbox_sandboxing_api/blob/master/examples/hello-world-cmake/main.cpp https://github.com/PLSysSec/rlbox_sandboxing_api/blob/master...
Seems like it could get a bit verbose when used all over the place but I guess there’s always a cost with security and having clearly defined risky parts also helps. Regardless I’m happy to see the effort being made beyond process isolation and OS capabilities.