[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2016-06-17 Thread Peter Maydell
This bug was fixed by commit aa07f5ecf9828 in 2014 and has been released in QEMU. ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1299190 Title:

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-28 Thread Maxim Ostapenko
Hi, Is this patch deployed in new version of QEMU? Thanks, Maxim -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1299190 Title: Access to /proc/self/exe in linux-user mode Status in QEMU: New B

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-03 Thread Peter Maydell
Thanks. That version Reviewed-by: Peter Maydell -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1299190 Title: Access to /proc/self/exe in linux-user mode Status in QEMU: New Bug description:

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-03 Thread Maxim Ostapenko
Ok, fixed. ** Patch added: "qemu.patch" https://bugs.launchpad.net/qemu/+bug/1299190/+attachment/4062748/+files/qemu.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1299190 Title: Access t

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-03 Thread Peter Maydell
Some nits: The "(CPUArchState *)" cast isn't necessary We should use exec_path, not ts->bprm->argv[0] (the guest argv[0] isn't necessarily the executable path) We don't want to call path() here -- exec_path is a host path, and only guest filename paths need to go through path(). Looking a lit

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-03 Thread Maxim Ostapenko
Yes, it works. Here is updated patch. ** Patch added: "qemu.patch" https://bugs.launchpad.net/qemu/+bug/1299190/+attachment/4062345/+files/qemu.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-03 Thread Peter Maydell
(I got the bracket placement wrong there so as you can tell the code is untested :-)) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1299190 Title: Access to /proc/self/exe in linux-user mode Statu

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-03 Thread Peter Maydell
That patch will copy the whole of the target executable into a temporary file without changing any of it -- the fake_open mechanism is really intended for cases where we need to return modified results. Wouldn't it be easier to just have something in do_open() that said: if (is_proc_myself(p

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-02 Thread Riku Voipio
Looks good, I'll get this to linux-user que once QEMU 2.0 is released. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1299190 Title: Access to /proc/self/exe in linux-user mode Status in QEMU: Ne

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-02 Thread Yury Gribov
I think the problem is not in libbacktrace per se but rather libsanitizer initializing libbacktrace with contents of /proc/self/exe. Patch is still relevant though. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpa

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-03-31 Thread Maxim Ostapenko
This tiny patch seems to work. ** Patch added: "qemu.patch" https://bugs.launchpad.net/qemu/+bug/1299190/+attachment/4055887/+files/qemu.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/129919