summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sun
diff options
context:
space:
mode:
authorLorenzo Stoakes (ARM) <ljs@kernel.org>2026-07-22 19:44:43 +0100
committerKees Cook <kees@kernel.org>2026-07-22 20:44:27 -0700
commitab11176bd3a76058ecafd066d0f9c718dc80f389 (patch)
treeab45ccda956e2007f14b9ec44c9ab88b985973f7 /drivers/net/ethernet/sun
parent8cdeaa50eae8dad34885515f62559ee83e7e8dda (diff)
x86/elf: Correct comment for STACK_RND_MASK()
Commit 913bd9060195 ("[PATCH] x86_64: Increase the variability of the process stack on 64bit architectures"), merged in 2006, increased stack randomisation from 8 MiB to an ostensible 1 GiB for 64-bit systems. However the commit actually introduced a mask of 0x3fffff * 4 KiB pages which provides 16 GiB of randomisation, not 1 GiB. It appears Andi perhaps typo'd an additional 'f', as 0x3ffff would indeed provide the stated 1 GiB. Since this value has been in use for 20 years it seems sensible to retain it, so correct the comment instead. Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org> Acked-by: SJ Park <sj@kernel.org> Link: https://patch.msgid.link/20260722-fix-x86-comment-v1-1-605080af988d@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/sun')
0 files changed, 0 insertions, 0 deletions