Re: [Qemu-devel] [PATCH v2 6/7] linux-user: Fix syslog

2016-12-16 Thread Peter Maydell
On 24 November 2016 at 16:08, Lena Djokic wrote: > Third argument represents lenght not second. typo: "length" > If second argument is NULL it should be passed without > using lock_user function which would, in that case, return > EFAULT, and system call supports passing NULL as second argument.

[Qemu-devel] [PATCH v2 6/7] linux-user: Fix syslog

2016-11-24 Thread Lena Djokic
Third argument represents lenght not second. If second argument is NULL it should be passed without using lock_user function which would, in that case, return EFAULT, and system call supports passing NULL as second argument. Signed-off-by: Lena Djokic --- linux-user/syscall.c | 16 --