Re: [PATCH 045/104] virtiofsd: prevent ".." escape in lo_do_readdir()

2020-01-16 Thread Sergio Lopez
Dr. David Alan Gilbert (git) writes: > From: Stefan Hajnoczi > > Construct a fake dirent for the root directory's ".." entry. This hides > the parent directory from the FUSE client. > > Signed-off-by: Stefan Hajnoczi > --- > tools/virtiofsd/passthrough_ll.c | 36 +++--

[PATCH 045/104] virtiofsd: prevent ".." escape in lo_do_readdir()

2019-12-12 Thread Dr. David Alan Gilbert (git)
From: Stefan Hajnoczi Construct a fake dirent for the root directory's ".." entry. This hides the parent directory from the FUSE client. Signed-off-by: Stefan Hajnoczi --- tools/virtiofsd/passthrough_ll.c | 36 +++- 1 file changed, 22 insertions(+), 14 deletions(-)