__get_tcb() is needed for errno access in threaded programs on some archs.
authorguenther <guenther@openbsd.org>
Sun, 11 Oct 2015 01:56:56 +0000 (01:56 +0000)
committerguenther <guenther@openbsd.org>
Sun, 11 Oct 2015 01:56:56 +0000 (01:56 +0000)
commitedca6e16b5c4845e34bdc92d574d45db52dd3072
treec50e5d1a0aedde0efabdb333f15c70e6cfea9bb2
parentad228b768a26a287c790dd53f8f6a069ce90a5a3
__get_tcb() is needed for errno access in threaded programs on some archs.
Make it always available.

ok deraadt@
sys/kern/kern_pledge.c