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

2025-07-10 Thread Richard Henderson
On 3/14/25 06:47, Geoffrey Thomas wrote: If another thread is holding target_fd_trans_lock during a fork, then the lock becomes permanently locked in the child and the emulator deadlocks at the next interaction with the fd-trans table. As with other locks, acquire the lock in fork_start() and rel

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

2025-03-14 Thread Geoffrey Thomas
If another thread is holding target_fd_trans_lock during a fork, then the lock becomes permanently locked in the child and the emulator deadlocks at the next interaction with the fd-trans table. As with other locks, acquire the lock in fork_start() and release it in fork_end(). Signed-off-by: Geof