qemu-devel
[Top][All Lists]
Advanced

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

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


From: Riku Voipio
Subject: Re: [Qemu-devel] [PATCH ] linux-user: add tee systemcall support
Date: Wed, 20 May 2009 17:24:15 +0300
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, May 19, 2009 at 06:06:14PM +0530, vibi sreenivasan wrote:
> yes i am plannig to implement splice & vmsplice.
> Also i have a plan to look in to adding support for
> unimplemented syscalls (got that idea from TODO),if any.

> Before that i was trying to make sure that i am going in the
> right path.

looks good, worked also fine with tests.

dropped to my linux-user git tree:

https://git.maemo.org/projects/qemu/gitweb?p=qemu;a=shortlog;h=refs/heads/linux-user-for-upstream

> thanks & regards
> vibi sreenivasan
> 
> > > 
> > > Thanks & Regards
> > > vibi sreenivasan
> > > 
> > > >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);
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > 
> 
> 
> 




reply via email to

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