In the early pledge, add "unveil" to permit changes a little later on.
authorderaadt <deraadt@openbsd.org>
Wed, 8 Aug 2018 14:35:38 +0000 (14:35 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 8 Aug 2018 14:35:38 +0000 (14:35 +0000)
commitb2e783b63e42d2a8cd97174b65b59bd2e2a354c9
treedcb432f8daaa796ae02baa14d18830797e596f57
parent7358917b0d45ef723a4e97c46f52161ef4d50526
In the early pledge, add "unveil" to permit changes a little later on.
If kernel variables are being watched unveil /dev/mem, /dev/kmem, and
/dev/ksyms.  If testing AF_UNIX, unveil that patch.  The next pledge
removes "unveil", then tcpbench is largely filesystem restricted.
usr.bin/tcpbench/tcpbench.c