All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] UML and valgrind
@ 2004-07-08  4:13 Bahi, David
  2004-08-03  2:47 ` [uml-devel] " D. Bahi
  0 siblings, 1 reply; 25+ messages in thread
From: Bahi, David @ 2004-07-08  4:13 UTC (permalink / raw)
  To: user-mode-linux-devel

back some time ago it seems like someone had more than a clue as to what
was requried to get valgrind working under UML... well as of 2.1.1 it
still ain't working.

http://marc.theaimsgroup.com/?l=user-mode-linux-devel&m=107066894230633&
w=2

I was wondering if a patch was available for our 'community' to make use
of this tool... for both running the UML as an application and for
running
applications within the UML.

It seems that for running valgrind within the UML there is a signal
handling
problem where 'restorer' is NULL and causes a panic in
setup_signal_stack_si

signal_kernel.c
  handle_signal()

	if (ka->sa.sa_flags & SA_RESTORER) restorer =
ka->sa.sa_restorer;
	else restorer = NULL;

	if(ka->sa.sa_flags & SA_SIGINFO)
		err = setup_signal_stack_si(sp, signr, (unsigned long)
handler,
					    restorer, regs, info,
&save);

thanks for any insight.

db

"The kernel is the only UNIX code that cannot be substituted by a user
to his own liking. For this reason, the kernel should make as few real
decisions as possible." -- K. Thompson


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2004-08-05 14:25 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-08  4:13 [uml-devel] UML and valgrind Bahi, David
2004-08-03  2:47 ` [uml-devel] " D. Bahi
2004-08-03  5:17   ` Jeff Dike
2004-08-03  9:31     ` [Valgrind-users] " Nicholas Nethercote
2004-08-03 14:50       ` Jeff Dike
2004-08-03 14:31         ` Nicholas Nethercote
2004-08-03 17:50           ` Jeff Dike
2004-08-03 17:33             ` D. Bahi
2004-08-03 19:31               ` Jeff Dike
2004-08-03 20:12                 ` D. Bahi
2004-08-04  7:47                   ` Tom Hughes
2004-08-03 22:04                 ` Nicholas Nethercote
2004-08-04  7:52                 ` Tom Hughes
2004-08-04 15:10                   ` Jeff Dike
2004-08-04 15:35                   ` Jeff Dike
2004-08-04 14:58                     ` Tom Hughes
2004-08-04 18:00                       ` Jeff Dike
2004-08-04 17:57                         ` Tom Hughes
2004-08-04 21:02                           ` Jeff Dike
2004-08-05  9:28                             ` Nicholas Nethercote
2004-08-05 13:15                               ` D. Bahi
2004-08-05 15:24                               ` Jeff Dike
2004-08-03 19:40               ` Jeff Dike
2004-08-04  1:09               ` Nuno Silva
2004-08-04  2:47                 ` D. Bahi

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.