Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux-user: fix target_to_host_timespec64()
in 32 bit mode, drop the padding in tv_nsec. If host is 64bit and target is 32bit, the padding bytes will be copied from the target and as the kernel checks the value, the syscall exits with EINVAL. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20200827070449.2386007-1-laurent@vivier.eu> Fixes: c6c8d10 ("linux-user/syscall: Add support for clock_gettime64/clock_settime64")
- Loading branch information