[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] linux-user: fix clock_nanosleep()
From: |
Alex Bennée |
Subject: |
Re: [PATCH] linux-user: fix clock_nanosleep() |
Date: |
Tue, 21 Jul 2020 21:28:55 +0100 |
User-agent: |
mu4e 1.5.5; emacs 28.0.50 |
Laurent Vivier <laurent@vivier.eu> writes:
> If clock_nanosleep() encounters an error, it returns one of the positive
> error number.
>
> If the call is interrupted by a signal handler, it fails with error EINTR
> and if "remain" is not NULL and "flags" is not TIMER_ABSTIME, it returns
> the remaining unslept time in "remain".
>
> Update linux-user to not overwrite the "remain" structure if there is no
> error.
>
> Found with "make check-tcg", linux-test fails on nanosleep test:
Queued to for-5.1/fixes-for-rc1-v2, thanks.
--
Alex Bennée