diff options
| author | 2026-07-10 11:33:07 +0200 | |
|---|---|---|
| committer | 2026-08-03 10:08:36 +0200 | |
| commit | 1dc88208cfdce26858c59609242f2bb0e2b5c031 (patch) | |
| tree | ce253de10d6d3bea98e4726b1380ae131d491a0b /scripts/Makefile.thinlto | |
| parent | binfmt_misc: use RCU for the handler lookup (diff) | |
binfmt_misc: annotate racy accesses to ->enabled
->enabled has always been read and written locklessly: every exec
reads it in load_misc_binary() while bm_status_write() or a concurrent
remount via bm_fill_super() may flip it. That is fine as it is an
independent boolean toggle but the accesses should be marked
accordingly for KCSAN. Annotate them with READ_ONCE()/WRITE_ONCE().
Link: https://patch.msgid.link/20260710-work-binfmt_misc-locking-v3-6-a162f7cb58d6@kernel.org
Reviewed-by: Jori Koolstra <jkoolstra@xs4all.nl>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
