Page MenuHomeFreeBSD

ktrace: Use STAILQ_EMPTY_ATOMIC when checking for records in userret()
ClosedPublic

Authored by markj on Mar 21 2025, 2:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 10, 9:22 AM
Unknown Object (File)
Sat, Apr 5, 7:03 AM
Unknown Object (File)
Fri, Apr 4, 2:01 AM
Unknown Object (File)
Thu, Apr 3, 8:27 PM
Unknown Object (File)
Wed, Mar 26, 5:45 PM
Unknown Object (File)
Mar 25 2025, 8:17 AM
Unknown Object (File)
Mar 24 2025, 11:51 PM
Unknown Object (File)
Mar 23 2025, 12:00 PM
Subscribers

Details

Summary

As in commit 36631977d8c9, this check is unlocked and may trigger
spurious assertion failures. Use STAILQ_EMPTY_ATOMIC() here as well.
Fix nearby whitespace.

Reported by: syzkaller
Fixes: 34740937f7a4 ("queue: New debug macros for STAILQ")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable