[LTP] OpenPOSIX: Allow 0 return value when detaching or joining joined thread
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Tue May 12 10:08:15 CEST 2026
Hi Wei,
On Sat, 09 May 2026 08:26:47 +0000, Wei Gao wrote:
> OpenPOSIX: Allow 0 return value when detaching or joining joined thread
> These are caused by glibc commit 5da15b15adab661c80e373b6af89be0b5fa5b3ad
> ("nptl: Do not use pthread set_tid_address as state synchronization (BZ #19951)").
The motivation is clear and the fix looks correct — accepting 0 in addition
to ESRCH matches the new glibc behavior.
> The new glibc logic removed the explicit validation of thread handles that
> previously returned ESRCH:
The commit message is missing a Signed-off-by: tag. Please add:
Signed-off-by: Wei Gao <wegao@suse.com>
---
Note:
Our agent completed the review of the patch. The full review can be
found at: https://github.com/linux-test-project/ltp-agent/actions/runs/25721673051
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list