Re: [Qemu-devel] [PATCH] Don't zero out buffer in sched_getaffinity

2011-04-18 Thread Stefan Hajnoczi
On Mon, Apr 18, 2011 at 8:03 AM, Mike McCormack wrote: > The kernel doesn't fill the buffer provided to sched_getaffinity > with zero bytes, so neither should QEMU. > > Depends on sched_getaffinity buffer overrun fix, but submitted > separately to make rollback easier. > > --- >  linux-user/syscal

[Qemu-devel] [PATCH] Don't zero out buffer in sched_getaffinity

2011-04-18 Thread Mike McCormack
The kernel doesn't fill the buffer provided to sched_getaffinity with zero bytes, so neither should QEMU. Depends on sched_getaffinity buffer overrun fix, but submitted separately to make rollback easier. --- linux-user/syscall.c | 13 + 1 files changed, 1 insertions(+), 12 deletio