aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2019-04-06 15:59:19 +0000
committerKees Cook <[email protected]>2019-04-07 17:38:31 +0000
commit24cccab42c4199c6daa0a6981e6f6a1ffb0b5a09 (patch)
treed99b4d6dc3bf6bf86d252b5649508f68fa81de07 /drivers/fpga/fpga-region.c
parentlkdtm/usercopy: Moves the KERNEL_DS test to non-canonical (diff)
downloadkernel-24cccab42c4199c6daa0a6981e6f6a1ffb0b5a09.tar.gz
kernel-24cccab42c4199c6daa0a6981e6f6a1ffb0b5a09.zip
lkdtm/bugs: Adjust recursion test to avoid elision
While I was able to trick gcc into keeping a pathological recursion, Clang was not so easily fooled. Instead, switch to using "volatile" and side-effects to keep the stack variable allocated and to run the function. Additionally renames "OVERFLOW" to "EXHAUST_STACK" to better describe the test. Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions