Module Name: src Committed By: riastradh Date: Thu Jun 3 01:00:15 UTC 2021
Modified Files: src/sys/kern: kern_ksyms.c Log Message: ksyms(4): Fix race in ksymsread iteration. TAILQ_NEXT(ksyms_last_snapshot) might change while we are iterating, but ksyms_last_snapshot itself cannot, so invert the loop structure. Discussed with rin@. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/kern/kern_ksyms.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.