diff options
author | msmith <msmith@FreeBSD.org> | 2000-09-05 22:11:41 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-09-05 22:11:41 +0000 |
commit | e2f94e5aa58467068d378732c0bb30aa46c50cef (patch) | |
tree | 7b152337edaa785021c1156140cbb3d0bc2a45d9 /lib/libstand | |
parent | 0575d8a3f9479a36221dabd7a8ba8c2dfdf8d4dc (diff) | |
download | FreeBSD-src-e2f94e5aa58467068d378732c0bb30aa46c50cef.zip FreeBSD-src-e2f94e5aa58467068d378732c0bb30aa46c50cef.tar.gz |
Expose the NFS root node, so that an evil consumer can use it to get the
NFS filehandle for the root mount.
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/nfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/nfs.c b/lib/libstand/nfs.c index a02ca58..67fc1bc 100644 --- a/lib/libstand/nfs.c +++ b/lib/libstand/nfs.c @@ -127,7 +127,7 @@ static off_t nfs_seek(struct open_file *f, off_t offset, int where); static int nfs_stat(struct open_file *f, struct stat *sb); static int nfs_readdir(struct open_file *f, struct dirent *d); -static struct nfs_iodesc nfs_root_node; +struct nfs_iodesc nfs_root_node; struct fs_ops nfs_fsops = { "nfs", |