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
0575d8a3f9
commit
e2f94e5aa5
@ -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