Re: [PATCH 1/2 v2] futex: adjust a futex timeout with a per-timens offset

2020-10-15 Thread Dmitry Safonov
On 10/15/20 5:00 PM, Andrei Vagin wrote: > For all commands except FUTEX_WAIT, timeout is interpreted as an > absolute value. This absolute value is inside the task's time namespace > and has to be converted to the host's time. > > Cc: > Fixes: 5a590f35add9 ("posix-clocks: Wire up clock_gettime()

[PATCH 1/2 v2] futex: adjust a futex timeout with a per-timens offset

2020-10-15 Thread Andrei Vagin
For all commands except FUTEX_WAIT, timeout is interpreted as an absolute value. This absolute value is inside the task's time namespace and has to be converted to the host's time. Cc: Fixes: 5a590f35add9 ("posix-clocks: Wire up clock_gettime() with timens offsets") Reported-by: Hans van der Laa