Re: [Qemu-devel] [PATCH v5 7/8] linux-user: Fix syslog() syscall support

2016-09-17 Thread Laurent Vivier
Le 14/09/2016 à 22:20, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > There are currently several problems related to syslog() support. > > For example, if the second argument "bufp" of target syslog() syscall > is NULL, the current implementation always returns error code EFAUL

[Qemu-devel] [PATCH v5 7/8] linux-user: Fix syslog() syscall support

2016-09-14 Thread Aleksandar Markovic
From: Aleksandar Markovic There are currently several problems related to syslog() support. For example, if the second argument "bufp" of target syslog() syscall is NULL, the current implementation always returns error code EFAULT. However, NULL is a perfectly valid value for the second argument