Re: [RFC PATCH] kernel/kallsyms.c: only show legal kernel symbol
From: Ming Lei
Date: Thu Oct 24 2013 - 21:29:35 EST
On Fri, Oct 25, 2013 at 7:08 AM, Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
>
> Sorry, I was imprecise. I was referring to the kernel's kallsyms
> tables produced by scripts/kallsyms.c. This patch left them in the
> the kallsyms tables and filtered them out from /proc/kallsyms.
Yes, but it isn't easy to do it by script/kallsyms.c , and IMO, it should
be correct to hide them for user space but keep them in kallsyms table.
>
> It's weird that cpu_v7_suspend_size appeared above, since kallsyms
> should filter out 'A' symbols already.
Sorry, the 'A' symbol is a mistake, but the others do exist in /proc/kallsyms.
Thanks,
--
Ming Lei
--
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/