aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2021-06-21 12:01:01 -0700
committerKees Cook <[email protected]>2021-09-25 08:20:47 -0700
commit0e17ad87645cecbea32c8d3d132cdf37532cdefc (patch)
tree2cf70feeabe9de71328f650f5ec8d76d101d75c8 /tools/perf/scripts/python/compaction-times.py
parent3d0107a7fee40402f0a3a325604bcbbc47597b5a (diff)
powerpc: Split memset() to avoid multi-field overflow
In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memset(), avoid intentionally writing across neighboring fields. Instead of writing across a field boundary with memset(), move the call to just the array, and an explicit zeroing of the prior field. Cc: Benjamin Herrenschmidt <[email protected]> Cc: Qinglang Miao <[email protected]> Cc: "Gustavo A. R. Silva" <[email protected]> Cc: Hulk Robot <[email protected]> Cc: Wang Wensheng <[email protected]> Cc: [email protected] Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions