qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH ] linux-user: add tee systemcall support


From: vibisreenivasan
Subject: [Qemu-devel] [PATCH ] linux-user: add tee systemcall support
Date: Sat, 16 May 2009 18:32:41 +0530

Signed-off-by: vibi <address@hidden>
---
 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







reply via email to

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