diff options
| author | Stefan Hajnoczi | 2019-03-12 16:48:50 +0100 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2020-01-23 17:41:36 +0100 |
| commit | 9f59d175e2ca96f0b87f534dba69ea547dd35945 (patch) | |
| tree | 452aeb234fbf8b3cd70e38c93edf6149feb12d58 /linux-user | |
| parent | virtiofsd: prevent ".." escape in lo_do_readdir() (diff) | |
| download | qemu-9f59d175e2ca96f0b87f534dba69ea547dd35945.tar.gz qemu-9f59d175e2ca96f0b87f534dba69ea547dd35945.tar.xz qemu-9f59d175e2ca96f0b87f534dba69ea547dd35945.zip | |
virtiofsd: use /proc/self/fd/ O_PATH file descriptor
Sandboxing will remove /proc from the mount namespace so we can no
longer build string paths into "/proc/self/fd/...".
Keep an O_PATH file descriptor so we can still re-open fds via
/proc/self/fd.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
