From 764871b7296e30d652b9dce420a80727f8936c65 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 19 Jan 2003 23:13:05 +0000 Subject: programs that chroot must use LOG_NDELAY; deraadt@ OK --- lib/libc/gen/syslog.3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3