diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2019-01-31 14:02:40 +0800 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-01-23 16:41:36 +0000 |
commit | 73b4d19dfc4248a74c1f3e511cfa934681d9c602 (patch) | |
tree | 51e98cade32de1ed33df245b978e7bf65a083469 /python/qemu/machine.py | |
parent | b39bce121bfad8757eec0ee41f14607b883935d3 (diff) | |
download | qemu-73b4d19dfc4248a74c1f3e511cfa934681d9c602.zip qemu-73b4d19dfc4248a74c1f3e511cfa934681d9c602.tar.gz qemu-73b4d19dfc4248a74c1f3e511cfa934681d9c602.tar.bz2 |
virtiofsd: passthrough_ll: add fd_map to hide file descriptors
Do not expose file descriptor numbers to clients. This prevents the
abuse of internal file descriptors (like stdin/stdout).
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Fix from:
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
dgilbert:
Added lseek
Reviewed-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'python/qemu/machine.py')
0 files changed, 0 insertions, 0 deletions