From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5Lgg-0007Hx-48 for qemu-devel@nongnu.org; Sat, 16 May 2009 11:20:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5Lgb-0007Cx-Ac for qemu-devel@nongnu.org; Sat, 16 May 2009 11:20:32 -0400 Received: from [199.232.76.173] (port=37204 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5Lgb-0007Ca-4Y for qemu-devel@nongnu.org; Sat, 16 May 2009 11:20:29 -0400 Received: from mailgw3.cms.com ([202.75.200.223]:17241 helo=cms.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M5LgZ-0001af-Dj for qemu-devel@nongnu.org; Sat, 16 May 2009 11:20:29 -0400 Subject: [Qemu-devel] [PATCH ] linux-user: add tee systemcall support From: vibisreenivasan Content-Type: text/plain Date: Sat, 16 May 2009 18:32:41 +0530 Message-Id: <1242478961.2167.7.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 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); -- 1.6.0