4 ms·
It's not much different than seccomp/systrace/apparmor/grsec rbac/selinux in that regard. It's per process. So sure, if the plugin forks it could pledge(). Much
by badalex 11y ago
It's not much different than seccomp/systrace/apparmor/grsec rbac/selinux in that regard. It's per process. So sure, if the plugin forks it could pledge(). Much the same way the plugin could seccomp once forked. Otherwise the plugins rules would be applied to the application.
All the same, even if the app used it with most syscalls enabled, it would reduce the attack surface.
- viraptor 11y agoActually seccomp is per-thread. Small difference, but it does make some lighter use possible in case of plugins.