Re: linux-user: keep the name-ending parenthesis in /proc/self/stat

2020-04-09 Thread Alex Bennée
Brice Goglin writes: > Le 09/04/2020 à 17:27, Alex Bennée a écrit : >> Brice Goglin writes: >> >>> When the program name is very long, qemu-user may truncate it in >>> /proc/self/stat. However the truncation must keep the ending ") " >>> to conform to the proc manpage which says: >>> (2) c

Re: linux-user: keep the name-ending parenthesis in /proc/self/stat

2020-04-09 Thread Brice Goglin
Le 09/04/2020 à 17:27, Alex Bennée a écrit : > Brice Goglin writes: > >> When the program name is very long, qemu-user may truncate it in >> /proc/self/stat. However the truncation must keep the ending ") " >> to conform to the proc manpage which says: >> (2) comm %s >>The filena

Re: linux-user: keep the name-ending parenthesis in /proc/self/stat

2020-04-09 Thread Alex Bennée
Brice Goglin writes: > When the program name is very long, qemu-user may truncate it in > /proc/self/stat. However the truncation must keep the ending ") " > to conform to the proc manpage which says: > (2) comm %s >The filename of the executable, in parentheses. This >

Re: linux-user: keep the name-ending parenthesis in /proc/self/stat

2020-04-08 Thread Brice Goglin
Please apply my first patch if you believe Philippe's patch is wrong. I can't spend more time debugging this trivial issue unfortunately. Brice Le 08/04/2020 à 17:48, Laurent Vivier a écrit : > Le 08/04/2020 à 10:24, Brice Goglin a écrit : >> When the program name is very long, qemu-user may tr

Re: linux-user: keep the name-ending parenthesis in /proc/self/stat

2020-04-08 Thread Laurent Vivier
Le 08/04/2020 à 10:24, Brice Goglin a écrit : > When the program name is very long, qemu-user may truncate it in > /proc/self/stat. However the truncation must keep the ending ") " > to conform to the proc manpage which says: > (2) comm %s >The filename of the executable, in paren

Re: linux-user: keep the name-ending parenthesis in /proc/self/stat

2020-04-08 Thread Laurent Vivier
Le 08/04/2020 à 08:40, Brice Goglin a écrit : > Le 31/03/2020 à 00:29, Brice Goglin a écrit : >> Le 31/03/2020 à 00:05, Philippe Mathieu-Daudé a écrit : >>> On 3/30/20 9:07 PM, Brice Goglin wrote: When the program name is very long, qemu-user may truncate it in /proc/self/stat. However th

Re: linux-user: keep the name-ending parenthesis in /proc/self/stat

2020-04-07 Thread Brice Goglin
Le 31/03/2020 à 00:29, Brice Goglin a écrit : > Le 31/03/2020 à 00:05, Philippe Mathieu-Daudé a écrit : >> On 3/30/20 9:07 PM, Brice Goglin wrote: >>> When the program name is very long, qemu-user may truncate it in >>> /proc/self/stat. However the truncation must keep the ending ") " >>> to confor

Re: linux-user: keep the name-ending parenthesis in /proc/self/stat

2020-03-30 Thread Brice Goglin
Le 31/03/2020 à 00:05, Philippe Mathieu-Daudé a écrit : > On 3/30/20 9:07 PM, Brice Goglin wrote: >> When the program name is very long, qemu-user may truncate it in >> /proc/self/stat. However the truncation must keep the ending ") " >> to conform to the proc manpage which says: >> (2) comm 

Re: linux-user: keep the name-ending parenthesis in /proc/self/stat

2020-03-30 Thread Philippe Mathieu-Daudé
On 3/30/20 9:07 PM, Brice Goglin wrote: When the program name is very long, qemu-user may truncate it in /proc/self/stat. However the truncation must keep the ending ") " to conform to the proc manpage which says: (2) comm %s The filename of the executable, in parentheses. Thi