aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2013-08-14 17:36:32 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-29 12:47:36 -0400
commit90dbc54a171ca7fd96c35d2858d30baf5d7c6376 (patch)
tree732c486cf9f4deab14e8352b36f8e697cc94dfb4 /arch
parent6c6f6c7166e9ee45e545eab850a2862a92c135b2 (diff)
ARM: 7816/1: CONFIG_KUSER_HELPERS: fix help text
commit ac124504ecf6b20a2457d873d0728a8b991a5b0c upstream. Commit f6f91b0d9fd9 ("ARM: allow kuser helpers to be removed from the vector page") introduced some help text for the CONFIG_KUSER_HELPERS option which is rather contradictory. Let's fix that, and improve it a little. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mm/Kconfig9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index 2950082a531c..08c9fe917d1f 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -789,15 +789,18 @@ config KUSER_HELPERS
789 the CPU type fitted to the system. This permits binaries to be 789 the CPU type fitted to the system. This permits binaries to be
790 run on ARMv4 through to ARMv7 without modification. 790 run on ARMv4 through to ARMv7 without modification.
791 791
792 See Documentation/arm/kernel_user_helpers.txt for details.
793
792 However, the fixed address nature of these helpers can be used 794 However, the fixed address nature of these helpers can be used
793 by ROP (return orientated programming) authors when creating 795 by ROP (return orientated programming) authors when creating
794 exploits. 796 exploits.
795 797
796 If all of the binaries and libraries which run on your platform 798 If all of the binaries and libraries which run on your platform
797 are built specifically for your platform, and make no use of 799 are built specifically for your platform, and make no use of
798 these helpers, then you can turn this option off. However, 800 these helpers, then you can turn this option off to hinder
799 when such an binary or library is run, it will receive a SIGILL 801 such exploits. However, in that case, if a binary or library
800 signal, which will terminate the program. 802 relying on those helpers is run, it will receive a SIGILL signal,
803 which will terminate the program.
801 804
802 Say N here only if you are absolutely certain that you do not 805 Say N here only if you are absolutely certain that you do not
803 need these helpers; otherwise, the safe option is to say Y. 806 need these helpers; otherwise, the safe option is to say Y.