Dr. David Alan Gilbert (git) <dgilb...@redhat.com> writes:

> From: Miklos Szeredi <mszer...@redhat.com>
>
> The Linux file handle APIs (struct export_operations) can access inodes
> that are not attached to parents because path name traversal is not
> performed.  Refuse if there is no parent in lo_do_lookup().
>
> Also clean up lo_do_lookup() while we're here.
>
> Signed-off-by: Miklos Szeredi <mszer...@redhat.com>
> Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>
> ---
>  tools/virtiofsd/passthrough_ll.c | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)

Reviewed-by: Sergio Lopez <s...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to