aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2017-11-07 13:38:04 +0300
committerThomas Gleixner <[email protected]>2017-11-09 18:20:20 +0100
commitbe739f4b5ddece74ef25e2304b17a7fd24575e9b (patch)
tree2e0f2e78107f54781f4e278bdbbd5df0a14760bc /net/ipv4/tcp_input.c
parentd0cd64b02aa854d68ce517cb7da1fe4e4fff2653 (diff)
x86/mm: Fix ELF_ET_DYN_BASE for 5-level paging
On machines with 5-level paging we don't want to allocate mapping above 47-bit unless user explicitly asked for it. See b569bab78d8d ("x86/mm: Prepare to expose larger address space to userspace") for details. c715b72c1ba4 ("mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes") broke the behaviour. After the commit elf binary and heap got mapped above 47-bits. Use DEFAULT_MAP_WINDOW instead of TASK_SIZE to determine ELF_ET_DYN_BASE so it's forced to be below 47-bits unconditionally. Fixes: c715b72c1ba4 ("mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes") Signed-off-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Kees Cook <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: [email protected] Cc: Andrew Morton <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions