Le 18/08/2018 à 21:01, Richard Henderson a écrit :
> Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
> ---
>  linux-user/syscall-file.inc.c | 98 +++++++++++++++++++++++++++++++++++
>  linux-user/syscall.c          | 75 ++-------------------------
>  linux-user/strace.list        | 12 -----
>  3 files changed, 102 insertions(+), 83 deletions(-)
> 
...
> +SYSCALL_IMPL(pwritev)
> +{
> +    struct iovec *vec = lock_iovec(VERIFY_READ, arg2, arg3, 1);
> +    unsigned long lo, hi;
> +    abi_long ret;
> +
> +    if (vec == NULL) {
> +        ret = -host_to_target_errno(errno);
           return -host_to_target_errno(errno);

Found while testing with LTP

Thanks,
Laurent

Reply via email to