Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9f19f3fa authored by Hanumant Singh's avatar Hanumant Singh Committed by Gerrit - the friendly Code Review server
Browse files

arm: Dump only kernel region and avoid dumping in user mode



Dump of memory surrounding register values can leak
kernel information in case of a user level fault.
Also virt_addr_valid() confirms whether a given virtual
address linearly maps to a kernel physical address.
Thus it offers a more exhaustive test for valid kernel
space then a check for is_vmalloc().

Change-Id: Ie394ec26e5ff7fd7bed1e7308a55b0033eddfe7c
Signed-off-by: default avatarHanumant Singh <hanumant@codeaurora.org>
parent 613a988d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment