From: Ilya Leoshkevich<iii@linux.ibm.com>
Currently ts_tid contains the parent tid after fork(), which is not
correct. So far it has not affected anything, but the upcoming
follow-fork-mode child support relies on the correct value, so fix it.
Reviewed-by: Alex Bennée<alex.bennee@linaro.org>
Signed-off-by: Ilya Leoshkevich<iii@linux.ibm.com>
Reviewed-by: Warner Losh<imp@bsdimp.com>
Message-Id:<20240219141628.246823-4-iii@linux.ibm.com>
Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
---
bsd-user/main.c | 1 +
linux-user/main.c | 1 +
2 files changed, 2 insertions(+)