qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Sergio Lopez
Subject: Re: [PATCH 045/104] virtiofsd: prevent ".." escape in lo_do_readdir()
Date: Thu, 16 Jan 2020 15:35:10 +0100
User-agent: mu4e 1.2.0; emacs 26.3

Dr. David Alan Gilbert (git) <address@hidden> writes:

> From: Stefan Hajnoczi <address@hidden>
>
> Construct a fake dirent for the root directory's ".." entry.  This hides
> the parent directory from the FUSE client.
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
>  tools/virtiofsd/passthrough_ll.c | 36 +++++++++++++++++++-------------
>  1 file changed, 22 insertions(+), 14 deletions(-)

Reviewed-by: Sergio Lopez <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]