From d0aced8b7e1ee9f1314eb9fdcab76f8aad6348e5 Mon Sep 17 00:00:00 2001 From: matthew Date: Mon, 21 Jul 2014 23:05:12 +0000 Subject: [PATCH] Add pthread_sigmask() and raise() to the list of async signal safe functions, per POSIX Issue 7 ok deraadt --- lib/libc/gen/signal.3 | 4 +++- lib/libc/sys/sigaction.2 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3 index 7cfc141dab4..c5abe822b26 100644 --- a/lib/libc/gen/signal.3 +++ b/lib/libc/gen/signal.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: signal.3,v 1.47 2014/07/21 17:40:06 matthew Exp $ +.\" $OpenBSD: signal.3,v 1.48 2014/07/21 23:05:12 matthew Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -309,6 +309,8 @@ Base Interfaces: .Fn pipe , .Fn poll , .Fn pselect , +.Fn pthread_sigmask , +.Fn raise , .Fn read , .Fn readlink , .Fn readlinkat , diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index 916feb0257c..5304ce37b3b 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sigaction.2,v 1.59 2014/07/21 17:40:06 matthew Exp $ +.\" $OpenBSD: sigaction.2,v 1.60 2014/07/21 23:05:12 matthew Exp $ .\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -538,6 +538,8 @@ Base Interfaces: .Fn pipe , .Fn poll , .Fn pselect , +.Fn pthread_sigmask , +.Fn raise , .Fn read , .Fn readlink , .Fn readlinkat , -- 2.20.1