summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-11-07 18:46:58 +0000
committerderaadt <deraadt@openbsd.org>2001-11-07 18:46:58 +0000
commitda0090322e7f203f80b1a0bf428ec3def3d134f3 (patch)
tree45a1f869e9887733f56494755559d881c44f3a35 /lib
parentrpcgen is not nearly KNF, but it now generates close to KNF code (diff)
downloadwireguard-openbsd-da0090322e7f203f80b1a0bf428ec3def3d134f3.tar.xz
wireguard-openbsd-da0090322e7f203f80b1a0bf428ec3def3d134f3.zip
list syslog_r as safe in signal handlers
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/signal.35
-rw-r--r--lib/libc/sys/sigaction.26
2 files changed, 8 insertions, 3 deletions
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 30894d37237..4d0c379267a 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: signal.3,v 1.15 2001/03/11 05:02:29 aaron Exp $
+.\" $OpenBSD: signal.3,v 1.16 2001/11/07 18:46:58 deraadt Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -310,7 +310,8 @@ and perhaps some others.
Extension Interfaces:
.Pp
.Fn strlcpy ,
-.Fn strlcat .
+.Fn strlcat ,
+.Fn syslog_r .
.Pp
All functions not in the above lists are considered to be unsafe
with respect to signals.
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index 60c71fc5c2d..ae01f21bb8a 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigaction.2,v 1.28 2001/08/06 10:42:26 mpech Exp $
+.\" $OpenBSD: sigaction.2,v 1.29 2001/11/07 18:46:58 deraadt Exp $
.\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -437,6 +437,10 @@ signal-catching functions:
.\" .Fn timer_settime .
.Ed
.Pp
+Please see
+.Xr signal 3
+for a more detailed list.
+.Pp
All functions not in the above list are considered to be unsafe
with respect to signals.
That is to say, the behaviour of such functions when called from