summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-06-21 00:56:59 +0000
committerguenther <guenther@openbsd.org>2012-06-21 00:56:59 +0000
commit16b62b6a0b93be6a70f097edd49f4c661f85cd4f (patch)
treeb60ec958758bfe01ad491979d73feeea25c66228 /sys/kern/subr_hibernate.c
parentfix strlcpy truncation check. from carsten at debian org, ok markus (diff)
downloadwireguard-openbsd-16b62b6a0b93be6a70f097edd49f4c661f85cd4f.tar.xz
wireguard-openbsd-16b62b6a0b93be6a70f097edd49f4c661f85cd4f.zip
__tfork() needs to set the stack address of the new thread in the kernel,
so that it can't get a signal while still running on the parent thread's stack. Also, pass in sizeof(struct __tfork) to provide forward compat when more members are added. This is an ABI change, so switch syscall numbers and bump lib majors this time. ok deraadt@ matthew@
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions