aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2022-09-20 14:54:41 -0700
committerPaul E. McKenney <[email protected]>2022-10-20 15:02:27 -0700
commit36f65f1d1553e35cd9e6b281271f40d639a128c3 (patch)
tree91ad8b870888afc8299876118c7f1a60ff60a6ad /lib/test_fortify/write_overflow-strncpy-src.c
parent27120e7d2c4d5c438b76f9c6330037a52ad0722e (diff)
srcu: Check for consistent global per-srcu_struct NMI safety
This commit adds runtime checks to verify that a given srcu_struct uses consistent NMI-safe (or not) read-side primitives globally, but based on the per-CPU data. These global checks are made by the grace-period code that must scan the srcu_data structures anyway, and are done only in kernels built with CONFIG_PROVE_RCU=y. Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: John Ogness <[email protected]> Cc: Petr Mladek <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions