summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-09-25 10:07:21 +0000
committerderaadt <deraadt@openbsd.org>1996-09-25 10:07:21 +0000
commit8211a14c394cb8cf578cc1dee4340f24568b21e7 (patch)
tree8e0ede2e7f9467a22c9794d8092850c84c700063
parentnls buffers are NL_TEXTMAX long -- not a security hole; netbsd pr#2780, mike.long@analog.com (diff)
downloadwireguard-openbsd-8211a14c394cb8cf578cc1dee4340f24568b21e7.tar.xz
wireguard-openbsd-8211a14c394cb8cf578cc1dee4340f24568b21e7.zip
warn about root and the jail
-rw-r--r--lib/libc/sys/chroot.22
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 0b66b680706..2bdb61d1147 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -99,6 +99,8 @@ An I/O error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
.Xr chdir 2
+.Sh WARNINGS
+There are ways for a root process to escape from the chroot jail.
.Sh HISTORY
The
.Fn chroot