All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: fang zheng <benbencan@gmail.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Fwd: How can I write a programm on host to ptrace processes on uml in SKAS mode
Date: Fri, 28 Sep 2007 10:57:34 -0400	[thread overview]
Message-ID: <20070928145734.GA7010@c2.user-mode-linux.org> (raw)
In-Reply-To: <a6f02da10709280509q39bfb9bavecc02bc67a5e304f@mail.gmail.com>

On Fri, Sep 28, 2007 at 08:09:06PM +0800, fang zheng wrote:
> How can I write a programm on host to ptrace processes on uml in SKAS mode  ?

skas3 or skas0?  Sounds like you're interested in skas3.

But why does it have to be done from the host rather than from inside UML?

> Is there is some examples about ptrace(PTRACE_SWITCH_MM,
> userspace_pid, 0, mm_fd)?

In UML, sure.  But it looks like you found that.

				Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2007-09-28 14:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a6f02da10709280506v2d897a36w24e3887cce1048d5@mail.gmail.com>
2007-09-28 12:09 ` [uml-devel] Fwd: How can I write a programm on host to ptrace processes on uml in SKAS mode fang zheng
2007-09-28 14:57   ` Jeff Dike [this message]

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=20070928145734.GA7010@c2.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=benbencan@gmail.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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.