summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-11-25 02:54:22 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2017-12-18 01:14:21 +0300
commitc608906165355089a4de3c9133c72e81e011096c (patch)
treecc1a76bc86bdcc8f0e69e4e3cb7874dcfccd26d2 /scripts
parent75fea300d73ae5b18957949a53ec770daaeb6fc2 (diff)
downloadlinux-c608906165355089a4de3c9133c72e81e011096c.tar.xz
ARM: probes: avoid adding kprobes to sensitive kernel-entry/exit code
Avoid adding kprobes to any of the kernel entry/exit or startup assembly code, or code in the identity-mapped region. This code does not conform to the standard C conventions, which means that the expectations of the kprobes code is not forfilled. Placing kprobes at some of these locations results in the kernel trying to return to userspace addresses while retaining the CPU in kernel mode. Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions