OpenCloudOS-Kernel/arch/arm/probes/kprobes
Russell King c608906165 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>
2017-12-17 22:14:21 +00:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
actions-arm.c ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
actions-common.c ARM: probes: move all probe code to dedicate directory 2015-01-09 09:36:50 +00:00
actions-thumb.c ARM: kprobes: collects stack consumption for store instructions 2015-01-13 16:10:06 +00:00
checkers-arm.c ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
checkers-common.c ARM: kprobes: collects stack consumption for store instructions 2015-01-13 16:10:06 +00:00
checkers-thumb.c ARM: kprobes: collects stack consumption for store instructions 2015-01-13 16:10:06 +00:00
checkers.h ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
core.c ARM: probes: avoid adding kprobes to sensitive kernel-entry/exit code 2017-12-17 22:14:21 +00:00
core.h ARM: kprobes: Fix compilation error caused by superfluous '*' 2015-02-10 15:05:30 +08:00
opt-arm.c ARM: optprobes: execute instruction during restoring if possible. 2015-01-14 12:24:52 +00:00
test-arm.c ARM: kprobes: Eliminate test code's use of BX instruction on ARMv4 CPUs 2015-01-20 09:06:04 +00:00
test-core.c arm/kprobes: Remove jprobe test case 2017-11-07 11:25:14 +01:00
test-core.h ARM: kprobes: Fix unreliable MRS instruction tests 2015-01-13 16:10:17 +00:00
test-thumb.c ARM: kprobes: Fix unreliable MRS instruction tests 2015-01-13 16:10:17 +00:00