diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2020-01-31 09:17:01 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-01-31 21:30:41 +0300 |
commit | 18676ffcee596079037b1767e4efe38b06f05eb8 (patch) | |
tree | 35df6ca21f4098d69d2fb64c878ee795d486ab6a /fs/reiserfs | |
parent | 03c6d723eeac2d7beaa6d9682768469659088d77 (diff) | |
download | linux-18676ffcee596079037b1767e4efe38b06f05eb8.tar.xz |
fs/binfmt_elf.c: make BAD_ADDR() unlikely
If some mapping goes past TASK_SIZE it will be rejected by kernel which
means no such userspace binaries exist.
Mark every such check as unlikely.
Link: http://lkml.kernel.org/r/20191215124355.GA21124@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions