summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-08-12 22:21:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-08-12 22:21:51 +0000
commit4549e4aaab4c54f1eb327e329bd5bde2a85df01f (patch)
tree693223dd78acbabf8303bd22959af2e9d8c4ae41 /lib/libc
parent3fbae67bd5ee83a4b5f2635a293f99239401aa04 (diff)
Mention that mknod(2) will return EINVAL when chroot(2)'d.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/mknod.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2
index 57bec168377..06ff8c165ce 100644
--- a/lib/libc/sys/mknod.2
+++ b/lib/libc/sys/mknod.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mknod.2,v 1.8 2000/04/15 11:46:03 aaron Exp $
+.\" $OpenBSD: mknod.2,v 1.9 2000/08/12 22:21:50 millert Exp $
.\" $NetBSD: mknod.2,v 1.6 1995/02/27 12:34:33 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -118,9 +118,14 @@ The named file exists.
.It Bq Er EFAULT
.Fa path
points outside the process's allocated address space.
+.It Bq Er EINVAL
+The process is running within an alternate root directory, as
+created by
+.Xr chroot 2 .
.El
.Sh SEE ALSO
.Xr chmod 2 ,
+.Xr chroot 2 ,
.Xr stat 2 ,
.Xr umask 2
.Sh HISTORY