From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEvwX-0001C1-43 for qemu-devel@nongnu.org; Wed, 06 Aug 2014 03:47:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEvwS-0007Ip-5L for qemu-devel@nongnu.org; Wed, 06 Aug 2014 03:47:29 -0400 Received: from afflict.kos.to ([92.243.29.197]:50812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEvwR-0007Id-Uo for qemu-devel@nongnu.org; Wed, 06 Aug 2014 03:47:24 -0400 Date: Wed, 6 Aug 2014 10:47:22 +0300 From: Riku Voipio Message-ID: <20140806074722.GA7437@afflict.kos.to> References: <1406988633-29469-1-git-send-email-erikd@mega-nerd.com> <1407023138-6957-1-git-send-email-erikd@mega-nerd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1407023138-6957-1-git-send-email-erikd@mega-nerd.com> Subject: Re: [Qemu-devel] [PATCH] linux-user: Add missing unlock_user_struct to timer_create. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik de Castro Lopo Cc: Peter Maydell , Riku Voipio , qemu-devel@nongnu.org On Sun, Aug 03, 2014 at 09:45:38AM +1000, Erik de Castro Lopo wrote: > Signed-off-by: Erik de Castro Lopo Thanks, applied to linux-user tree. > --- > 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; > } > > -- > 2.0.1 >