summaryrefslogtreecommitdiffstats
path: root/lib/libstand/nfs.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-09-05 22:11:41 +0000
committermsmith <msmith@FreeBSD.org>2000-09-05 22:11:41 +0000
commite2f94e5aa58467068d378732c0bb30aa46c50cef (patch)
tree7b152337edaa785021c1156140cbb3d0bc2a45d9 /lib/libstand/nfs.c
parent0575d8a3f9479a36221dabd7a8ba8c2dfdf8d4dc (diff)
downloadFreeBSD-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/nfs.c')
-rw-r--r--lib/libstand/nfs.c2
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",
OpenPOWER on IntegriCloud