diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-11 02:15:29 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-04-13 22:15:51 +0300 |
commit | ab502103ae3ce4c0fc393e598455efede3e523c9 (patch) | |
tree | 76cc3109c004c93473f70759b100ac083ff03649 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 0aef499f3172a60222ae7460d61b364c134d6e1a (diff) | |
download | linux-ab502103ae3ce4c0fc393e598455efede3e523c9.tar.xz |
mm/usercopy: Detect large folio overruns
Move the compound page overrun detection out of
CONFIG_HARDENED_USERCOPY_PAGESPAN and convert it to use folios so it's
enabled for more people.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Kees Cook <keescook@chromium.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220110231530.665970-4-willy@infradead.org
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions