Re: [Qemu-devel] [PATCH 08/12] linux-user: Detect fault in sched_rr_get_interval

2014-08-04 Thread Peter Maydell
On 4 August 2014 17:45, Tom Musta wrote: > Properly detect a fault when attempting to store into an invalid > struct timespec pointer. > > Signed-off-by: Tom Musta > > diff --git a/linux-user/syscall.c b/linux-user/syscall.c > index 5f193cd..95cee0b 100644 > --- a/linux-user/syscall.c > +++ b/lin

[Qemu-devel] [PATCH 08/12] linux-user: Detect fault in sched_rr_get_interval

2014-08-04 Thread Tom Musta
Properly detect a fault when attempting to store into an invalid struct timespec pointer. Signed-off-by: Tom Musta diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 5f193cd..95cee0b 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -7754,7 +7754,7 @@ abi_long do_syscal