summaryrefslogtreecommitdiff
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-06-23 21:28:47 +0100
committerAmit Pundir <amit.pundir@linaro.org>2016-09-14 14:26:51 +0530
commitde3e4231c642ecdb41522edbf4d74677b136c76a (patch)
tree9660f54b1aa2473b4a53c7d7f8defd09417968e8 /lib/strncpy_from_user.c
parent0202669aab680f7a4868be1ea387925ee3199357 (diff)
BACKPORT: ARM: 8583/1: mm: fix location of _etext
The _etext position is defined to be the end of the kernel text code, and should not include any part of the data segments. This interferes with things that might check memory ranges and expect executable code up to _etext. Just to be conservative, leave the kernel resource as it was, using __init_begin instead of _etext as the end mark. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Change-Id: Ida514d1359dbe6f782f562ce29b4ba09ae72bfc0 (cherry picked from commit 14c4a533e0996f95a0a64dfd0b6252d788cebc74) Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions