summaryrefslogtreecommitdiff
path: root/include/linux/net
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2020-11-30 15:34:41 -0800
committerWill Deacon <will@kernel.org>2020-12-01 10:30:28 +0000
commita2abe7cbd8fe2db5ff386c968e2273d9dc6c468d (patch)
tree7b00fd0f4e632398c41a56cf0ee4d001922c928f /include/linux/net
parentf8394f232b1eab649ce2df5c5f15b0e528c92091 (diff)
scs: switch to vmapped shadow stacks
The kernel currently uses kmem_cache to allocate shadow call stacks, which means an overflows may not be immediately detected and can potentially result in another task's shadow stack to be overwritten. This change switches SCS to use virtually mapped shadow stacks for tasks, which increases shadow stack size to a full page and provides more robust overflow detection, similarly to VMAP_STACK. Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Acked-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20201130233442.2562064-2-samitolvanen@google.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/linux/net')
0 files changed, 0 insertions, 0 deletions