Permit kern.somaxconn when the unix pledge is used. Previously this was only
authorabieber <abieber@openbsd.org>
Thu, 25 Mar 2021 21:27:45 +0000 (21:27 +0000)
committerabieber <abieber@openbsd.org>
Thu, 25 Mar 2021 21:27:45 +0000 (21:27 +0000)
commit2e384c95b2c4c0c66e56742bbffb7e20579c2488
tree9679b3409bfc773152ac69850e6d00a683a5ac51
parent2f1f646e8757007fbc0460c681bd7006b60b9e86
Permit kern.somaxconn when the unix pledge is used. Previously this was only
allowed when inet was used.

This lets Go programs use 'unix' without also including 'inet'.

from Josh Rickmar

ok / tree review from deraadt@, commit message cluestick from tb@
sys/kern/kern_pledge.c