Re: [Qemu-devel] fix ELF loading for 0-length sections

2012-02-25 Thread Damian, Alexandru
Hi guys, Please don't submit these patches yet - I will re-submit from a different email, to lessen the legal complications. I'm also adding a couple of new patches - just a heads up, when transferring structs or arrays in a syscall/ioctl, pointers also need conversions between target memory spac

Re: [Qemu-devel] fix ELF loading for 0-length sections

2012-02-21 Thread Peter Maydell
On 21 February 2012 10:42, Damian, Alexandru wrote: > Hi, > > I got a problem with QEMU refusing to load an ELF binary with 0-length > sections, > while the kernel has no issue doing this. > > This patch adds a check that has been in kernel since 2008 at least. CC'ing Riku (linux-user maintainer)

[Qemu-devel] fix ELF loading for 0-length sections

2012-02-21 Thread Damian, Alexandru
Hi, I got a problem with QEMU refusing to load an ELF binary with 0-length sections, while the kernel has no issue doing this. This patch adds a check that has been in kernel since 2008 at least. Cheers, Alex commit a42e5231c1be5f09caeb6c73e34933cd7efa7023 Author: Alexandru DAM