Hacker News new | ask | show | jobs
by badalex 3879 days 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.

1 comments

Actually seccomp is per-thread. Small difference, but it does make some lighter use possible in case of plugins.