Re: [Qemu-devel] [PATCH] linux-user: identify running binary in /proc/$$/exe

2013-04-18 Thread Peter Maydell
On 11 March 2013 17:19, Andreas Schwab wrote: > Some applications like to test /proc/$$/exe (where $$ is the own pid) to > find out who they are. Handle it like /proc/self/exe. > > Also, do the same handling in readlinkat. Sorry I didn't get round to reviewing this earlier; I think it slipped th

[Qemu-devel] [PATCH] linux-user: identify running binary in /proc/$$/exe

2013-03-11 Thread Andreas Schwab
Some applications like to test /proc/$$/exe (where $$ is the own pid) to find out who they are. Handle it like /proc/self/exe. Also, do the same handling in readlinkat. Signed-off-by: Andreas Schwab --- linux-user/syscall.c | 22 ++ 1 file changed, 18 insertions(+), 4 delet