summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorStefan Hajnoczi2019-03-12 16:48:50 +0100
committerDr. David Alan Gilbert2020-01-23 17:41:36 +0100
commit9f59d175e2ca96f0b87f534dba69ea547dd35945 (patch)
tree452aeb234fbf8b3cd70e38c93edf6149feb12d58 /linux-user
parentvirtiofsd: prevent ".." escape in lo_do_readdir() (diff)
downloadqemu-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