diff options
| author | Stefan Hajnoczi | 2019-03-05 10:32:49 +0100 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2020-01-23 17:41:36 +0100 |
| commit | 752272da2b68a2312f0e11fc5303015a6c3ee1ac (patch) | |
| tree | 9ce46e3e49987b7c2e8c4e87d60530377d38f869 /linux-user/linuxload.c | |
| parent | virtiofsd: prevent ".." escape in lo_do_lookup() (diff) | |
| download | qemu-752272da2b68a2312f0e11fc5303015a6c3ee1ac.tar.gz qemu-752272da2b68a2312f0e11fc5303015a6c3ee1ac.tar.xz qemu-752272da2b68a2312f0e11fc5303015a6c3ee1ac.zip | |
virtiofsd: prevent ".." escape in lo_do_readdir()
Construct a fake dirent for the root directory's ".." entry. This hides
the parent directory from the FUSE client.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'linux-user/linuxload.c')
0 files changed, 0 insertions, 0 deletions
