diff options
author | 2012-01-17 02:52:39 +0000 | |
---|---|---|
committer | 2012-01-17 02:52:39 +0000 | |
commit | caad2fa6e74ae096be04b1445f374a9cdcd32b71 (patch) | |
tree | 0168b35d84acf458ecdbd461f5f8212339eb5eb1 /lib/libpthread/uthread/uthread_init.c | |
parent | Add stpcpy() and stpncpy(), pointless crap that made it into POSIX. (diff) | |
download | wireguard-openbsd-caad2fa6e74ae096be04b1445f374a9cdcd32b71.tar.xz wireguard-openbsd-caad2fa6e74ae096be04b1445f374a9cdcd32b71.zip |
Make openat(), pread(), preadv(), pwrite(), and pwritev() cancellation
points.
ok fgsch@
Diffstat (limited to 'lib/libpthread/uthread/uthread_init.c')
-rw-r--r-- | lib/libpthread/uthread/uthread_init.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpthread/uthread/uthread_init.c b/lib/libpthread/uthread/uthread_init.c index 05078d5fb3f..436cd73fcb1 100644 --- a/lib/libpthread/uthread/uthread_init.c +++ b/lib/libpthread/uthread/uthread_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_init.c,v 1.46 2011/09/28 18:52:47 fgsch Exp $ */ +/* $OpenBSD: uthread_init.c,v 1.47 2012/01/17 02:52:39 guenther Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -39,6 +39,7 @@ #include <sys/types.h> #include <sys/param.h> +#include <sys/event.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/mount.h> @@ -109,6 +110,8 @@ static void *references[] __used = { &open, &pipe, &poll, + &pread, + &pwrite, &read, &readv, &recvfrom, |