diff options
| author | 2015-04-07 01:27:06 +0000 | |
|---|---|---|
| committer | 2015-04-07 01:27:06 +0000 | |
| commit | 514a545f8a3983d53b7de4e8dfcefe16c9496776 (patch) | |
| tree | e17cf0966466dfd49a1decf34dd536d3fdbe4765 /lib/libc/arch/vax/SYS.h | |
| parent | Do not mistreat empty arguments to font alternating macros (diff) | |
| download | wireguard-openbsd-514a545f8a3983d53b7de4e8dfcefe16c9496776.tar.xz wireguard-openbsd-514a545f8a3983d53b7de4e8dfcefe16c9496776.zip | |
Make pthread_atfork() track the DSO that called it like atexit() does,
unregistering callbacks if the DSO is unloaded. Move the callback
handling from libpthread to libc, though libpthread still overrides the
inner call to handle locking and thread-library reinitialization.
Major version bump for both libc and libpthread.
verification that this fixes various ports ajacoutot@
asm assistance miod@; ok millert@ deraadt@
Diffstat (limited to 'lib/libc/arch/vax/SYS.h')
| -rw-r--r-- | lib/libc/arch/vax/SYS.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/arch/vax/SYS.h b/lib/libc/arch/vax/SYS.h index 816c700f2ff..2449243f186 100644 --- a/lib/libc/arch/vax/SYS.h +++ b/lib/libc/arch/vax/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.16 2014/06/04 20:13:49 matthew Exp $ */ +/* $OpenBSD: SYS.h,v 1.17 2015/04/07 01:27:07 guenther Exp $ */ /* $NetBSD: SYS.h,v 1.4 1997/05/02 18:15:32 kleink Exp $ */ /* @@ -66,6 +66,7 @@ __SYSCALL(_thread_sys_,x,x) #define RSYSCALL(x) __ALIAS(_thread_sys_,x) \ __PSEUDO(_thread_sys_,x,x) +#define RSYSCALL_HIDDEN(x) __PSEUDO(_thread_sys_,x,x) #define PSEUDO(x,y) __ALIAS(_thread_sys_,x) \ __PSEUDO(_thread_sys_,x,y) #define PSEUDO_NOERROR(x,y) __ALIAS(_thread_sys_,x) \ |
