From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpUfj-00012I-WF for qemu-devel@nongnu.org; Mon, 13 Oct 2008 17:09:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpUfj-00011I-3h for qemu-devel@nongnu.org; Mon, 13 Oct 2008 17:09:47 -0400 Received: from [199.232.76.173] (port=50397 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpUfi-00010z-Tu for qemu-devel@nongnu.org; Mon, 13 Oct 2008 17:09:46 -0400 Received: from hall.aurel32.net ([88.191.82.174]:33225) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpUfi-0005xE-EC for qemu-devel@nongnu.org; Mon, 13 Oct 2008 17:09:46 -0400 Date: Mon, 13 Oct 2008 23:09:39 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] Implement msg* syscalls Message-ID: <20081013210939.GG18008@volta.aurel32.net> References: <1223892640-15545-1-git-send-email-kirill@shutemov.name> <1223892640-15545-2-git-send-email-kirill@shutemov.name> <1223892640-15545-3-git-send-email-kirill@shutemov.name> <1223892640-15545-4-git-send-email-kirill@shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1223892640-15545-4-git-send-email-kirill@shutemov.name> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Kirill A. Shutemov" Applied, thanks. On Mon, Oct 13, 2008 at 01:10:31PM +0300, Kirill A. Shutemov wrote: > Signed-off-by: Kirill A. Shutemov > --- > linux-user/syscall.c | 21 +++++++++++++++++++++ > 1 files changed, 21 insertions(+), 0 deletions(-) > > diff --git a/linux-user/syscall.c b/linux-user/syscall.c > index 7e67093..cf0834f 100644 > --- a/linux-user/syscall.c > +++ b/linux-user/syscall.c > @@ -4829,6 +4829,27 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, > ret = do_ipc(arg1, arg2, arg3, arg4, arg5, arg6); > break; > #endif > + > +#ifdef TARGET_NR_msgctl > + case TARGET_NR_msgctl: > + ret = do_msgctl(arg1, arg2, arg3); > + break; > +#endif > +#ifdef TARGET_NR_msgget > + case TARGET_NR_msgget: > + ret = get_errno(msgget(arg1, arg2)); > + break; > +#endif > +#ifdef TARGET_NR_msgrcv > + case TARGET_NR_msgrcv: > + ret = do_msgrcv(arg1, arg2, arg3, arg4, arg5); > + break; > +#endif > +#ifdef TARGET_NR_msgsnd > + case TARGET_NR_msgsnd: > + ret = do_msgsnd(arg1, arg2, arg3, arg4); > + break; > +#endif > case TARGET_NR_fsync: > ret = get_errno(fsync(arg1)); > break; > -- > 1.5.6.5.GIT > > > > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net