OSDN Git Service

linux-user: Adjust child_tidptr on set_tid_address() syscall
authorHelge Deller <deller@gmx.de>
Sat, 28 May 2022 10:52:10 +0000 (12:52 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 24 Jun 2022 08:00:01 +0000 (10:00 +0200)
commit9a7f682c26acae5bc8bfd1f7c774070da54f1625
tree8f1c0ebc183867c574a74b07be9b9d60329d151d
parent892a4f6a750abceeda4c1ee8324f58f82fd6bd89
linux-user: Adjust child_tidptr on set_tid_address() syscall

Keep track of the new child tidptr given by a set_tid_address() syscall.

Do not call the host set_tid_address() syscall because we are emulating
the behaviour of writing to child_tidptr in the exit() path.

Signed-off-by: Helge Deller<deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <YpH+2sw1PCRqx/te@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c