From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6KMF-0007DW-NZ for qemu-devel@nongnu.org; Tue, 19 May 2009 04:07:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6KMC-0007Bo-67 for qemu-devel@nongnu.org; Tue, 19 May 2009 04:07:31 -0400 Received: from [199.232.76.173] (port=45569 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6KMC-0007Bl-3n for qemu-devel@nongnu.org; Tue, 19 May 2009 04:07:28 -0400 Received: from mailgw3.cms.com ([202.75.200.223]:27342 helo=cms.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6KMA-0007I3-4M for qemu-devel@nongnu.org; Tue, 19 May 2009 04:07:27 -0400 Subject: Re: [Qemu-devel] [PATCH ] linux-user: add tee systemcall support From: vibi sreenivasan In-Reply-To: <1242478961.2167.7.camel@system> References: <1242478961.2167.7.camel@system> Content-Type: text/plain Date: Tue, 19 May 2009 13:42:03 +0530 Message-Id: <1242720723.2188.13.camel@system> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Resent-Message-Id: Reply-To: vibi_sreenivasan@cms.com List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org hi all, >Subject: [Qemu-devel] [PATCH ] linux-user: add tee systemcall support Is there any thing wrong with this patch. Please give some feedback So if there is anything wrong i will be able to correct it. Thanks & Regards vibi sreenivasan >Signed-off-by: vibi >--- >linux-user/syscall.c | 8 ++++++++ >1 files changed, 8 insertions(+), 0 deletions(-) >diff --git a/linux-user/syscall.c b/linux-user/syscall.c >index 76f0c95..f2f87c3 100644 >--- a/linux-user/syscall.c >+++ b/linux-user/syscall.c >@@ -6580,6 +6580,14 @@ abi_long do_syscall(void *cpu_env, int num, >abi_long arg1, break; >#endif >+#ifdef TARGET_NR_tee >+ case TARGET_NR_tee: >+ { >+ ret = get_errno(tee(arg1,arg2,arg3,arg4)); >+ } >+ break; >+#endif >+ > default: > unimplemented: > gemu_log("qemu: Unsupported syscall: %d\n", num);