This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Re-send [PATCH] : Validating address in runtime
- From: Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>
- To: Wenji Huang <wenji dot huang at oracle dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 23 Jun 2008 12:20:30 +0530
- Subject: Re: Re-send [PATCH] : Validating address in runtime
- References: <485F1050.5090004@oracle.com>
- Reply-to: ananth at in dot ibm dot com
On Mon, Jun 23, 2008 at 10:54:08AM +0800, Wenji Huang wrote:
> Hi,
Hi Wenji,
> Regarding PR6646, seems no good way to solve it. I just think maybe double
> checking the address in runtime to make things safer.
>
> This patch adds validating address vs name mapping in runtime for several
> symbols which are used in initializing process. So kernel oops could be
> early avoided in case of incorrect vmlinux or wrong address.
Agreed that the oops will be avoided, but this will just shift the
problem from 'runtime' to compile time. It still won't help SystemTap
working.
In some ways, its better to get an oops just to be able to see if the
failure modes are the same or not.
Ananth