aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorRick Edgecombe <[email protected]>2023-07-06 16:32:48 -0700
committerDave Hansen <[email protected]>2023-08-02 15:01:51 -0700
commit87f0df7828899c552bcdde639c045983d5aeeed9 (patch)
treee9205629e7195ed227c96a0626cd714056083deb /lib/test_fortify/write_overflow-memcpy.c
parent67840ad0fa14ad49a605074b12d5b0f3c3113ed1 (diff)
x86/shstk: Move arch detail comment out of core mm
The comment around VM_SHADOW_STACK in mm.h refers to a lot of x86 specific details that don't belong in a cross arch file. Remove these out of core mm, and just leave the non-arch details. Since the comment includes some useful details that would be good to retain in the source somewhere, put the arch specifics parts in arch/x86/shstk.c near alloc_shstk(), where memory of this type is allocated. Include a reference to the existence of the x86 details near the VM_SHADOW_STACK definition mm.h. Signed-off-by: Rick Edgecombe <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/all/20230706233248.445713-1-rick.p.edgecombe%40intel.com
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions