Re: [PATCH] Allow times and time system calls to return smallnegative values

From: Ingo Molnar
Date: Thu Dec 04 2008 - 02:58:20 EST



* Paul Mackerras <paulus@xxxxxxxxx> wrote:

> @@ -229,6 +230,7 @@ asmlinkage long compat_sys_times(struct compat_tms __user *tbuf)
> if (copy_to_user(tbuf, &tmp, sizeof(tmp)))
> return -EFAULT;
> }
> + force_successful_syscall_return();
> return compat_jiffies_to_clock_t(jiffies);

just curious: what code does force_successful_syscall_return() actually
run in the powerpc case - those bits are missing from this patch. I
suspect it sets some sort of flag?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/