Expose the NFS root node, so that an evil consumer can use it to get the
NFS filehandle for the root mount.
This commit is contained in:
parent
f535380cb6
commit
6910d080a2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65496
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user