aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-03 23:44:47 +0200
committerRichard Henderson <richard.henderson@linaro.org>2023-08-09 09:31:30 -0700
commitb8002058c45a50d893c51cf62ec96c70128fc1eb (patch)
tree6574e6289014c21dad50672cc4e0e99465084af5 /scripts/qapi/source.py
parentutil/interval-tree: Check root for null in interval_tree_iter_first (diff)
downloadqemu-b8002058c45a50d893c51cf62ec96c70128fc1eb.tar.xz
qemu-b8002058c45a50d893c51cf62ec96c70128fc1eb.zip
linux-user: Fix openat() emulation to correctly detect accesses to /proc
In qemu we catch accesses to files like /proc/cpuinfo or /proc/net/route and return to the guest contents which would be visible on a real system (instead what the host would show). This patch fixes a bug, where for example the accesses cat /proc////cpuinfo or cd /proc && cat cpuinfo will not be recognized by qemu and where qemu will wrongly show the contents of the host's /proc/cpuinfo file. Signed-off-by: Helge Deller <deller@gmx.de> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20230803214450.647040-2-deller@gmx.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions