Laurent Vivier
0057675789
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: c6c8d1026e75 ("linux-user/syscall: Add support for clock_gettime64/clock_settime64")
2020-08-27 12:29:50 +02:00
..
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2018-12-26 06:40:02 +11:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2019-06-10 07:03:34 -07:00
2020-08-27 12:29:50 +02:00
2019-06-12 13:20:21 +02:00
2020-02-12 16:29:27 +01:00
2020-07-13 21:26:33 +02:00
2018-09-25 22:36:47 +02:00
2019-06-12 13:20:21 +02:00
2020-05-15 15:25:16 +01:00
2020-08-27 12:29:49 +02:00
2016-07-19 15:22:33 +03:00
2019-01-11 15:46:56 +01:00
2020-07-27 22:02:40 +02:00
2020-08-21 06:30:38 -04:00
2020-08-23 16:57:58 +02:00
2020-08-27 12:29:50 +02:00
2016-05-27 14:49:51 +03:00
2019-07-26 19:24:33 +02:00
2020-02-19 11:17:40 +01:00
2019-06-12 13:20:21 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:50 +02:00
2020-08-27 12:29:49 +02:00
2020-08-27 12:29:49 +02:00
2020-08-27 12:29:50 +02:00
2019-06-12 13:20:21 +02:00
2020-02-12 18:56:41 +01:00
2020-08-21 06:18:24 -04:00
2019-01-11 15:46:56 +01:00
2019-06-10 07:03:34 -07:00
2016-07-12 16:20:46 +02:00
2020-02-19 11:17:40 +01:00