diff options
author | John Birrell <jb@FreeBSD.org> | 2007-10-22 21:49:39 +0000 |
---|---|---|
committer | John Birrell <jb@FreeBSD.org> | 2007-10-22 21:49:39 +0000 |
commit | b7a2eb795c6cf75a436e4880ccbc04c1766f5615 (patch) | |
tree | 7707e5885a6f5bb3ffd4cdabce6fdbef399aabed /lib | |
parent | 21b415b2120fddd227a344b71632f4c8c041a315 (diff) | |
download | src-b7a2eb795c6cf75a436e4880ccbc04c1766f5615.tar.gz src-b7a2eb795c6cf75a436e4880ccbc04c1766f5615.zip |
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@
Notes
Notes:
svn path=/head/; revision=172886
Diffstat (limited to 'lib')
-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 f2ca2a65b127..eb09a23dd7da 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. |