forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commitc2f7d08
futex: Adjust absolute futex timeouts with per time namespace offset
For all commands except FUTEX_WAIT, the timeout is interpreted as anabsolute value. This absolute value is inside the task's time namespace andhas to be converted to the host's time.Fixes:5a590f3 ("posix-clocks: Wire up clock_gettime() with timens offsets")Reported-by: Hans van der Laan <j.h.vanderlaan@student.utwente.nl>Signed-off-by: Andrei Vagin <avagin@gmail.com>Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>Cc: <stable@vger.kernel.org>Link:https://lore.kernel.org/r/20201015160020.293748-1-avagin@gmail.com1 parent270315b commitc2f7d08
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
3797 | 3798 | | |
3798 | 3799 | | |
3799 | 3800 | | |
| 3801 | + | |
| 3802 | + | |
3800 | 3803 | | |
3801 | 3804 | | |
3802 | 3805 | | |
| |||
3989 | 3992 | | |
3990 | 3993 | | |
3991 | 3994 | | |
| 3995 | + | |
| 3996 | + | |
3992 | 3997 | | |
3993 | 3998 | | |
3994 | 3999 | | |
| |||
0 commit comments
Comments
(0)