config: android-recommended: enable CONFIG_CPU_SW_DOMAIN_PAN
authorSami Tolvanen <samitolvanen@google.com>
Thu, 8 Jun 2017 12:39:12 +0000 (18:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:47:38 +0000 (11:47 +0200)
commitfb0b1538983c1cf7d2a2242b332a34a953753624
treea6991723275ba5b97725a01168cde8080503b336
parentc1ebc2febdb85a73a4f91a9b9eaab6387619eaa6
config: android-recommended: enable CONFIG_CPU_SW_DOMAIN_PAN

Enable CPU domain PAN to ensure that normal kernel accesses are
unable to access userspace addresses.

Reviewed-at: https://android-review.googlesource.com/#/c/334035/

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
[AmitP: cherry-picked this change from Android common kernel, updated
        the commit message and re-placed the CONFIG_STRICT_KERNEL_RWX
        config in sorted order]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/configs/android-recommended.config