diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-07-10 11:33:07 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-08-03 10:08:36 +0200 |
| commit | 1dc88208cfdce26858c59609242f2bb0e2b5c031 (patch) | |
| tree | ce253de10d6d3bea98e4726b1380ae131d491a0b /include/linux | |
| parent | fd77da3efbedd7b442fbab86a6dbea5e2a1b32f8 (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 'include/linux')
0 files changed, 0 insertions, 0 deletions
