News for hackers. Stuff that matters.
Re:Pledge() – a new mitigation mechanism in OpenBSD by badalex on Monday November 09, 2015 @11:09PM (#10537573)
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.

Re:Pledge() – a new mitigation mechanism in OpenBSD by viraptor on Tuesday November 10, 2015 @12:18AM (#10537746)
Actually seccomp is per-thread. Small difference, but it does make some lighter use possible in case of plugins.