For pledge, sigsuspend() should is affecting the behaviour a process itself,
authorderaadt <deraadt@openbsd.org>
Sat, 10 Oct 2015 19:15:53 +0000 (19:15 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 10 Oct 2015 19:15:53 +0000 (19:15 +0000)
commit44e5764e063dacf4fe067ebcc5cb8d0e2a557376
treeadc6015d82e775a17a0206449afab6226fce5d12
parente420f7bd85d6698d7d0d8a2127cd4d7c289dbe62
For pledge, sigsuspend() should is affecting the behaviour a process itself,
so we should allow it for 'self'.
ok djm
sys/kern/kern_pledge.c