]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kprobes: disallow probing stack consuming instructions
authorWang Nan <wangnan0@huawei.com>
Mon, 5 Jan 2015 11:29:25 +0000 (19:29 +0800)
committerJon Medhurst <tixy@linaro.org>
Tue, 13 Jan 2015 16:10:15 +0000 (16:10 +0000)
commit23e9edb979bcf6b724ccf7958be79b195de04468
tree69accee3d0fdc9ae9a0c3c683a7ed87497e61a81
parent033cb9fc4444526ced5227e5c70f96156d38961c
ARM: kprobes: disallow probing stack consuming instructions

This patch prohibits probing instructions for which the stack
requirements are unable to be determined statically. Some test cases
are found not work again after the modification, this patch also
removes them.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Reviewed-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
arch/arm/include/asm/kprobes.h
arch/arm/include/asm/probes.h
arch/arm/kernel/entry-armv.S
arch/arm/probes/kprobes/core.c
arch/arm/probes/kprobes/test-arm.c