Page MenuHomeFreeBSD

targ: Handle errors from suword()
ClosedPublic

Authored by markj on Dec 26 2023, 11:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 29 2026, 4:35 AM
Unknown Object (File)
Apr 28 2026, 3:00 AM
Unknown Object (File)
Apr 27 2026, 5:46 PM
Unknown Object (File)
Apr 20 2026, 5:06 AM
Unknown Object (File)
Apr 19 2026, 5:58 PM
Unknown Object (File)
Apr 18 2026, 4:28 PM
Unknown Object (File)
Apr 11 2026, 3:20 PM
Unknown Object (File)
Apr 9 2026, 2:07 AM
Subscribers

Details

Summary

In targstart() we are already handling an error and have no go way to
signal the failure to upper layers, so ignore the return value of
suword() there.

This is in preparation for annotating copyin() and related functions
with __result_use_check.

Diff Detail

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