[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 070/104] virtiofsd: fail when parent inode isn't known in lo_
From: |
Sergio Lopez |
Subject: |
Re: [PATCH 070/104] virtiofsd: fail when parent inode isn't known in lo_do_lookup() |
Date: |
Mon, 20 Jan 2020 11:08:24 +0100 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
Dr. David Alan Gilbert (git) <address@hidden> writes:
> From: Miklos Szeredi <address@hidden>
>
> 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 <address@hidden>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
> tools/virtiofsd/passthrough_ll.c | 14 ++++++++++++--
> 1 file changed, 12 insertions(+), 2 deletions(-)
Reviewed-by: Sergio Lopez <address@hidden>
signature.asc
Description: PGP signature