Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2ddedcd authored by Al Viro's avatar Al Viro
Browse files

x32: fix sigtimedwait



It needs 64bit timespec.  As it is, we end up truncating the timeout
to whole seconds; usually it doesn't matter, but for having all
sub-second timeouts truncated to one jiffy is visibly wrong.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a566c288
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1001,7 +1001,7 @@ compat_sys_rt_sigtimedwait (compat_sigset_t __user *uthese,
	sigset_from_compat(&s, &s32);

	if (uts) {
		if (get_compat_timespec(&t, uts))
		if (compat_get_timespec(&t, uts))
			return -EFAULT;
	}