Re: [PATCH v3 07/12] linux-user: Fix strace of chmod() if mode == 0

2022-09-25 Thread Laurent Vivier
Le 18/09/2022 à 21:45, Helge Deller a écrit : If the mode parameter of chmod() is zero, this value isn't shown when stracing a program: chmod("filename",) This patch fixes it up to show the zero-value as well: chmod("filename",000) Signed-off-by: Helge Deller ---

Re: [PATCH v3 07/12] linux-user: Fix strace of chmod() if mode == 0

2022-09-18 Thread Philippe Mathieu-Daudé via
On 18/9/22 21:45, Helge Deller wrote: If the mode parameter of chmod() is zero, this value isn't shown when stracing a program: chmod("filename",) This patch fixes it up to show the zero-value as well: chmod("filename",000) Signed-off-by: Helge Deller --- linux-user/strace.c | 5

[PATCH v3 07/12] linux-user: Fix strace of chmod() if mode == 0

2022-09-18 Thread Helge Deller
If the mode parameter of chmod() is zero, this value isn't shown when stracing a program: chmod("filename",) This patch fixes it up to show the zero-value as well: chmod("filename",000) Signed-off-by: Helge Deller --- linux-user/strace.c | 5 + 1 file changed, 5 insertions(+) diff