From caad2fa6e74ae096be04b1445f374a9cdcd32b71 Mon Sep 17 00:00:00 2001 From: guenther Date: Tue, 17 Jan 2012 02:52:39 +0000 Subject: Make openat(), pread(), preadv(), pwrite(), and pwritev() cancellation points. ok fgsch@ --- lib/libpthread/uthread/uthread_init.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/libpthread/uthread/uthread_init.c') 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 * All rights reserved. @@ -39,6 +39,7 @@ #include #include +#include #include #include #include @@ -109,6 +110,8 @@ static void *references[] __used = { &open, &pipe, &poll, + &pread, + &pwrite, &read, &readv, &recvfrom, -- cgit v1.2.3-59-g8ed1b