diff options
| author | 2012-06-20 11:37:21 +0000 | |
|---|---|---|
| committer | 2012-06-20 11:37:21 +0000 | |
| commit | 6924bb557da2d9b14c4aba8da94ab61b12b97edb (patch) | |
| tree | af95b71264dea4fe10b3342fbe097ef16b1fde79 /lib/libc/stdlib/malloc.c | |
| parent | - urndis_match() should support multiple interface descriptors. (diff) | |
| download | wireguard-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 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions
