[PATCH 1/1] linux-user: Hold the fd-trans lock across fork

2025-03-14 Thread Geoffrey Thomas
: Geoffrey Thomas Fixes: c093364f4d91 "fd-trans: Fix race condition on reallocation of the translation table." Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2846 Buglink: https://github.com/astral-sh/uv/issues/6105 --- linux-user/fd-trans.h | 10 ++ linux-user/main.c

[Qemu-devel] [PATCH] slirp: Fix typo in net_slirp_hostfwd_remove

2011-12-17 Thread Geoffrey Thomas
Report an error when err is nonzero, not when it is zero. Signed-off-by: Geoffrey Thomas --- net/slirp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/slirp.c b/net/slirp.c index 6646ecb..18e07ba 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -351,7 +351,7