All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: Bodo Stroesser <bstroesser@fujitsu-siemens.com>,
	user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: Skas0 general testing?
Date: Thu, 30 Jun 2005 10:31:19 -0400	[thread overview]
Message-ID: <20050630143119.GA4337@ccure.user-mode-linux.org> (raw)
In-Reply-To: <200506230336.28927.blaisorblade@yahoo.it>

On Thu, Jun 23, 2005 at 03:36:26AM +0200, Blaisorblade wrote:
> I specified "operations done on the host" exactly for this purpose. That patch 
> will touch SKAS3 code, but if I set all three options to "yes" the code 
> should do the same things (again, in terms of strace output).
> 
> But however, if to keep the code clean we change (let's say) where a certain 
> signal handler is set to later in the boot process, *hoping* that it does not 
> hurt, that's against my definition.

OK, I straced UML booting and shutting down on a skas3 host, with and without
the skas0 patch.

I looked at the initialization, syscall interception, and page fault handing,
and they are identical in the two runs:

Initialization:

	access("/proc/mm", W_OK)                = 0
	write(1, "Checking for /proc/mm...found\n", 30) = 30
	fork()                                  = 25144
	wait4(25144, [WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP], WUNTRACED, NULL) = 25144
	--- SIGCHLD (Child exited) ---
	ptrace(PTRACE_???, 25144, 0, 0xbffff7e0) = 0
	write(1, "Checking for the skas3 patch in "..., 49) = 49
	ptrace(PTRACE_???, 25144, 0, 0x823c100) = 0
	ptrace(PTRACE_???, 25144, 0, 0x823c1e0) = 0
	ptrace(PTRACE_CONT, 25144, 0, SIG_0)    = 0

Syscall interception:

	wait4(25145, [WIFSTOPPED(s) && WSTOPSIG(s) == SIGSEGV], WUNTRACED, NULL) = 25145
	ptrace(PTRACE_???, 25145, 0, 0x8a41888) = 0
	ptrace(PTRACE_???, 25145, 0, 0x8a41938) = 0
	ptrace(PTRACE_???, 25145, 0, 0x8a41b38) = 0
	write(14, "6\0\0\0\0\20\0@\0\20\0\0\5\0\0\0\21\0\0\0\3\0\0\0\0p\270"..., 28) = 28
	ptrace(PTRACE_???, 25145, 0, 0x8a41888) = 0
	ptrace(PTRACE_???, 25145, 0, 0x8a41938) = 0
	ptrace(PTRACE_SYSCALL, 25145, 0, SIG_0) = 0

Page fault:

	wait4(25145, [WIFSTOPPED(s) && WSTOPSIG(s) == 133], WUNTRACED, NULL) = 25145
	ptrace(PTRACE_???, 25145, 0, 0x8a41888) = 0
	ptrace(PTRACE_???, 25145, 0, 0x8a41938) = 0
	ptrace(PTRACE_POKEUSER, 25145, 4*ORIG_EAX, 0x14) = 0
	ptrace(PTRACE_SYSCALL, 25145, 0, SIG_0) = 0
	--- SIGCHLD (Child exited) ---
	wait4(25145, [WIFSTOPPED(s) && WSTOPSIG(s) == 133], WUNTRACED, NULL) = 25145
	ptrace(PTRACE_???, 25145, 0, 0x8a41888) = 0
	ptrace(PTRACE_???, 25145, 0, 0x8a41938) = 0
	ptrace(PTRACE_SYSCALL, 25145, 0, SIG_0) = 0

With this, are you OK with skas0 being sent to Andrew?

				Jeff


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  parent reply	other threads:[~2005-06-30 14:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-23  0:38 [uml-devel] Skas0 general testing? Blaisorblade
2005-06-23  1:12 ` [uml-devel] " Jeff Dike
2005-06-23  1:36   ` Blaisorblade
2005-06-23  3:11     ` Jeff Dike
2005-06-30 14:31     ` Jeff Dike [this message]
2005-06-30 15:14       ` Blaisorblade
2005-06-30 16:09         ` Jeff Dike
2005-07-01 22:56           ` Blaisorblade
2005-06-23 10:28   ` Bodo Stroesser

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=20050630143119.GA4337@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=blaisorblade@yahoo.it \
    --cc=bstroesser@fujitsu-siemens.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.