Re:Landrun: Sandbox any Linux process using Landlock, no roo...
by ranger_danger on Saturday March 22, 2025 @02:54PM
(#43447753)
> I'd create an ephemeral tmpfs disk for each landlocked invocation
And now you've just invented firejail.
Re:Landrun: Sandbox any Linux process using Landlock, no roo...
by nine_k on Saturday March 22, 2025 @03:07PM
(#43447841)
UX-wise, yes. Internally firejail and landrun use different isolation APIs.
Re:Landrun: Sandbox any Linux process using Landlock, no roo...
by ranger_danger on Saturday March 22, 2025 @05:36PM
(#43448837)
Firejail supports Landlock though: https://github.com/netblue30/firejail/pull/6078
For added security, I'd create an ephemeral tmpfs disk for each landlocked invocation: obviously the program we're running has no business seeing what other processes may have put to /tmp.