summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-06-16 13:18:23 -0700
committerVasily Gorbik <gor@linux.ibm.com>2021-06-28 11:18:28 +0200
commitc74d3c182ab4a3db6c3c2a6c4b3c8b9a7f1feb1a (patch)
tree1286621ca4c6759d5d9ec1e78af01f72c474c228 /lib/mpi/mpi-sub-ui.c
parente5e1bdf0bca8cd16ad39ed2febf6f689d9c07586 (diff)
s390/speculation: Use statically initialized const for instructions
In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memcpy(), memmove(), and memset(), avoid confusing the checks when using a static const source. Move the static const array into a variable so the compiler can perform appropriate bounds checking. Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210616201823.1245603-1-keescook@chromium.org Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions