diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-07 18:46:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-11-07 18:46:59 +0000 |
commit | 8fa63265f6b93fdc4673195fd7bb08393223bc65 (patch) | |
tree | 5d596ed97a0a550448e8d993db720710d4407669 /lib | |
parent | 265753ac871c14342aae35d23a6748f1466014df (diff) |
list syslog_r as safe in signal handlers
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/signal.3 | 5 | ||||
-rw-r--r-- | lib/libc/sys/sigaction.2 | 6 |
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 |