Commit 1baed2ff authored by Neil Leeder's avatar Neil Leeder
Browse files

arm: kprobes: make target areas writeable before writing



STRICT_MEMORY_RWX makes the kernel text section unwriteable.
This causes kprobes to fail when trying to arm or disarm probes.

Add calls to make the target area writeable during
the arming and disarming.

Change-Id: I8a37478defdb276278b72f5d6c684c661ca54cb1
Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
parent 7e668556
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment