diff options
author | jb <jb@FreeBSD.org> | 2007-10-22 21:49:39 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2007-10-22 21:49:39 +0000 |
commit | fc684e3b3fc38f0651bdb2ae161d54f26bbdf445 (patch) | |
tree | 7707e5885a6f5bb3ffd4cdabce6fdbef399aabed /lib/libc/sys/kldstat.2 | |
parent | afdad2635d174f4e5402a19d96b3f05104269bb1 (diff) | |
download | FreeBSD-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/libc/sys/kldstat.2')
-rw-r--r-- | lib/libc/sys/kldstat.2 | 4 |
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. |