lkml.org 
[lkml]   [2008]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Allow times and time system calls to return small negative values

* Paul Mackerras <paulus@samba.org> 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


\
 
 \ /
  Last update: 2008-12-04 09:01    [from the cache]
©2003-2011 Jasper Spaans