All of lore.kernel.org
 help / color / mirror / Atom feed
From: Riku Voipio <riku.voipio@iki.fi>
To: vibi sreenivasan <vibi_sreenivasan@cms.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH ] linux-user: add tee systemcall support
Date: Tue, 19 May 2009 14:36:35 +0300	[thread overview]
Message-ID: <20090519113635.GA11400@kos.to> (raw)
In-Reply-To: <1242720723.2188.13.camel@system>

On Tue, May 19, 2009 at 01:42:03PM +0530, vibi sreenivasan wrote:
> 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.

The implementation of tee appears fine. However, the tee testcases
I found all also used splice. What did you use to test this, or do
you plan to implement splice too?

> 
> Thanks & Regards
> vibi sreenivasan
> 
> >Signed-off-by: vibi <vibi_sreenivasan@cms.com>
> >---
> >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);
> 
> 
> 
> 

  parent reply	other threads:[~2009-05-19 11:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-16 13:02 [Qemu-devel] [PATCH ] linux-user: add tee systemcall support vibisreenivasan
2009-05-19  8:12 ` vibi sreenivasan
2009-05-19 10:31   ` vibi sreenivasan
2009-05-19 11:36   ` Riku Voipio [this message]
2009-05-19 12:36     ` vibi sreenivasan
2009-05-20 14:24       ` Riku Voipio
2009-05-21  6:41         ` vibi sreenivasan
2009-05-21 15:38           ` Arnaud Patard
2009-05-22  5:31             ` vibi sreenivasan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090519113635.GA11400@kos.to \
    --to=riku.voipio@iki.fi \
    --cc=qemu-devel@nongnu.org \
    --cc=vibi_sreenivasan@cms.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.