summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2007-10-22 21:49:39 +0000
committerjb <jb@FreeBSD.org>2007-10-22 21:49:39 +0000
commitfc684e3b3fc38f0651bdb2ae161d54f26bbdf445 (patch)
tree7707e5885a6f5bb3ffd4cdabce6fdbef399aabed /lib
parentafdad2635d174f4e5402a19d96b3f05104269bb1 (diff)
downloadFreeBSD-src-fc684e3b3fc38f0651bdb2ae161d54f26bbdf445.zip
FreeBSD-src-fc684e3b3fc38f0651bdb2ae161d54f26bbdf445.tar.gz
Add a BUGS section to note that mount/chroot changes since
a module was loaded might make the pathname inaccurate. I wonder if an inode reference should be stored with the pathname to allow a validity check? Suggested by: rwatson@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/kldstat.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/kldstat.2 b/lib/libc/sys/kldstat.2
index f2ca2a6..eb09a23 100644
--- a/lib/libc/sys/kldstat.2
+++ b/lib/libc/sys/kldstat.2
@@ -128,3 +128,7 @@ The
.Nm kld
interface first appeared in
.Fx 3.0 .
+.Sh BUGS
+The pathname many not be accurate if the file system mounts have
+changed since the module was loaded, or if this function is called
+within a chrooted environment.
OpenPOWER on IntegriCloud