summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-04-26 17:09:11 -0700
committerKees Cook <keescook@chromium.org>2022-04-26 17:11:05 -0700
commit2a0338769f27a38b5dd60b6bef5b83003789439b (patch)
tree76716aa6a0cd22f482bf1b72a82e54c96992a860 /tools/testing
parent2e53b877dc1258d4ac3de98f496bb88ec3bf5e25 (diff)
lkdtm: cfi: Fix type width for masking PAC bits
The masking for PAC bits wasn't handling 32-bit architectures correctly. Replace the u64 cast with uintptr_t. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/lkml/CAMuHMdVz-J-1ZQ08u0bsQihDkcRmEPrtX5B_oRJ+Ns5jrasnUw@mail.gmail.com Fixes: 2e53b877dc12 ("lkdtm: Add CFI_BACKWARD to test ROP mitigations") Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions