Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
futex_waitv: Convert 32bit timespec struct to 64bit for compatibility…
… mode futex_waitv() can not accept old_timespec32 struct, therefore userspace should convert it from 32bit to 64bit before syscall in 32bit compatible mode. This fixes failure on futex_waitv01 on 32bit compatibility mode. Detail info you can refer following email thread: https://lore.kernel.org/lkml/[email protected]/ Link: https://lore.kernel.org/ltp/[email protected]/ Suggested-by: André Almeida <[email protected]> Suggested-by: Thomas Gleixner <[email protected]> Reviewed-by: Andrea Cervesato <andrea.cervesato.suse.com> Reviewed-by: Petr Vorel <[email protected]> Signed-off-by: Wei Gao <[email protected]>
- Loading branch information