On Fri, Dec 04, 2015 at 10:08:27AM -0800, David Brown wrote:
arm64: kernel: Add support for Privileged Access Never (2015-09-10 15:02:08 -0700)
A quick note on how to test this. With recent kernels, the Linux Kernel Dump Test Tool Module is able to provoke the kinds of accesses that PAN detects. Enable CONFIG_LKDTM in your kernel, and
# echo ACCESS_USERSPACE > /sys/kernel/debug/provoke-crash/DIRECT
will generate an oops if the PAN support is working. Otherwise, it will just print the values it read.
David