aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2024-03-06 17:00:39 -0800
committerUladzislau Rezki (Sony) <[email protected]>2024-04-09 15:10:13 +0200
commitc507e195016ccca18e375d14cfeb1186dac60b2c (patch)
tree4aeb24bab9f5e29d5b6b9bd3bb773cad26310297 /lib/test_fortify/write_overflow-strncpy-src.c
parentf8039457eedc378fa7a186054ee3032b8a41eaee (diff)
rcutorture: ASSERT_EXCLUSIVE_WRITER() for ->rtort_pipe_count updates
It turns out that only one CPU at a time will ever invoke rcu_torture_pipe_update_one() on a given rcu_torture structure. This commit therefore adds three ASSERT_EXCLUSIVE_WRITER() calls to enlist KCSAN's aid in checking this. Signed-off-by: Paul E. McKenney <[email protected]> Cc: Linus Torvalds <[email protected]> Reviewed-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions