summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authorpirofti <pirofti@openbsd.org>2012-06-20 11:37:21 +0000
committerpirofti <pirofti@openbsd.org>2012-06-20 11:37:21 +0000
commit6924bb557da2d9b14c4aba8da94ab61b12b97edb (patch)
treeaf95b71264dea4fe10b3342fbe097ef16b1fde79 /sys/kern/subr_hibernate.c
parent- urndis_match() should support multiple interface descriptors. (diff)
downloadwireguard-openbsd-6924bb557da2d9b14c4aba8da94ab61b12b97edb.tar.xz
wireguard-openbsd-6924bb557da2d9b14c4aba8da94ab61b12b97edb.zip
Copy the set_tls_base flag when forking.
This enables the linux_child_return bits that set the TLS base in the newly forked process. Before this, processes that had the flag set would get a null pointer and segfault when trying to access the TLS area. Chased down and fixed by me. Turned into a proper one line diff by guenther@.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions