qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 11/16] linux-user: Split out preadv, pwritev,


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH v4 11/16] linux-user: Split out preadv, pwritev, readv, writev
Date: Wed, 22 Aug 2018 18:03:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Le 18/08/2018 à 21:01, Richard Henderson a écrit :
> Signed-off-by: Richard Henderson <address@hidden>
> ---
>  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

[Prev in Thread] Current Thread [Next in Thread]