qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] linux-user: Add missing unlock_user_struct to t


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] linux-user: Add missing unlock_user_struct to timer_create.
Date: Sun, 3 Aug 2014 14:09:39 +0100

On 3 August 2014 00:45, Erik de Castro Lopo <address@hidden> wrote:
> Signed-off-by: Erik de Castro Lopo <address@hidden>
> ---
>  linux-user/syscall.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index a50229d..5f22b37 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -9432,6 +9432,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long 
> arg1,
>                  host_sevp.sigev_signo = tswap32(ptarget_sevp->sigev_signo);
>                  host_sevp.sigev_notify = tswap32(ptarget_sevp->sigev_notify);
>
> +                unlock_user_struct(ptarget_sevp, arg2, 0);
>                  phost_sevp = &host_sevp;
>              }
>
> --

Reviewed-by: Peter Maydell <address@hidden>

thanks
-- PMM



reply via email to

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