[PATCH 2/2] arm64: Make all entry code as non-kprobe-able
Pratyush Anand
panand at redhat.com
Mon Jul 6 04:54:08 PDT 2015
On 06/07/2015:08:03:17 PM, Masami Hiramatsu wrote:
> On 2015/07/06 14:03, Pratyush Anand wrote:
> > Entry symbols are not kprobe safe. So blacklist them for kprobing.
>
> As I've said, you can also use _ASM_NOKPROBE().
Thanks for this info.. May be we can use it if we find some single
discrete asm routines. Since here all the entry routines need to be
blacklisted, so may be this approach should be fine. This approach
have been emulated from x86 entry code blacklist.
> This patch itself looks good to me, but I'd like to ask arm64
> maintainers' opinion, whether they accept introducing entry-text
> section only for this purpose or not.
>
> Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt at hitachi.com>
Thanks.
~Pratyush
More information about the linux-arm-kernel
mailing list