Re: [Qemu-devel] [PATCH] linux-user: add binfmt wrapper for argv[0] handling

2011-10-31 Thread Alexander Graf
On 31.10.2011, at 12:16, Riku Voipio wrote: > On Sat, Oct 29, 2011 at 08:08:39PM +0200, Alexander Graf wrote: >>> When using qemu's linux-user binaries through binfmt, argv[0] gets lost >>> along the execution because qemu only gets passed in the full file name >>> to the executable while argv[0

Re: [Qemu-devel] [PATCH] linux-user: add binfmt wrapper for argv[0] handling

2011-10-31 Thread Riku Voipio
On Sat, Oct 29, 2011 at 08:08:39PM +0200, Alexander Graf wrote: > > When using qemu's linux-user binaries through binfmt, argv[0] gets lost > > along the execution because qemu only gets passed in the full file name > > to the executable while argv[0] can be something completely different. > > > >

Re: [Qemu-devel] [PATCH] linux-user: add binfmt wrapper for argv[0] handling

2011-10-29 Thread Alexander Graf
On 30.09.2011, at 19:46, Alexander Graf wrote: > When using qemu's linux-user binaries through binfmt, argv[0] gets lost > along the execution because qemu only gets passed in the full file name > to the executable while argv[0] can be something completely different. > > This breaks in some subt

[Qemu-devel] [PATCH] linux-user: add binfmt wrapper for argv[0] handling

2011-09-30 Thread Alexander Graf
When using qemu's linux-user binaries through binfmt, argv[0] gets lost along the execution because qemu only gets passed in the full file name to the executable while argv[0] can be something completely different. This breaks in some subtile situations, such as the grep and make test suites. Thi