Re: SyS symbol munging.

From: Steven Rostedt
Date: Fri May 10 2013 - 16:56:33 EST


On Fri, May 10, 2013 at 09:05:03PM +0100, Al Viro wrote:
> On Fri, May 10, 2013 at 09:55:00PM +0200, Borislav Petkov wrote:
> > On Fri, May 10, 2013 at 12:35:10PM -0700, Andrew Morton wrote:
> > > I forget who did this initially and peeling back those layers with git
> > > is tiresome.
> >
> > 1a94bc34768e4 from 2009, although those SyS* things started appearing in
> > stack traces only recently AFAIR.
>
> Note that both sys_something and SyS_something end up in vmlinux symbol
> table, refering to the same address. AFAICS, what matters is which one
> goes first. May be even linker-dependent...

Actually, it's the first one that kallsyms finds in its binary search.

If the table is layed out a little differently, it may find the first
one or the second one.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/