3 ms·
You might well be able to implement tame() entirely in userspace using seccomp-bpf.
by caf 11y ago
You might well be able to implement tame() entirely in userspace using seccomp-bpf.
- lclarkmichalek 11y agoAnd that wouldn't be a bad thing; seccomp could do with a simpler user interface (in addition to the current, more powerfull one).
- strcat 11y agoYou can almost do it, but you can't whitelist paths. Luckily, none of the hard-wired paths is particularly compelling. With either feature, you end up needing a multi-process architecture as soon as you want to allow access to certain paths in a sandbox. It's just that tame hard-wired a few used by the base system, but they aren't generally useful outside of it.