summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-01-19 23:13:05 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-01-19 23:13:05 +0000
commit764871b7296e30d652b9dce420a80727f8936c65 (patch)
tree5465e99e7df9fec90d385e33b2d8f154d509ce12 /lib
parentf2e1502a46d986993771c35f85337f23fbe2dc29 (diff)
programs that chroot must use LOG_NDELAY; deraadt@ OK
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/syslog.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3
index 3cdb192866e..45c852bdd9f 100644
--- a/lib/libc/gen/syslog.3
+++ b/lib/libc/gen/syslog.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syslog.3,v 1.19 2002/07/05 04:21:06 deraadt Exp $
+.\" $OpenBSD: syslog.3,v 1.20 2003/01/19 23:13:04 millert Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -221,6 +221,9 @@ immediately.
Normally the open is delayed until the first message is logged.
Useful for programs that need to manage the order in which file
descriptors are allocated.
+This option must be used in programs that call
+.Xr chroot 2
+where the new root does not have its own log socket.
.It Dv LOG_PERROR
Write the message to standard error output as well to the system log.
.It Dv LOG_PID