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)
Thu, Mar 19, 12:07 PM
Unknown Object (File)
Thu, Mar 19, 7:57 AM
Unknown Object (File)
Sat, Mar 14, 8:11 AM
Unknown Object (File)
Mar 5 2026, 2:29 PM
Unknown Object (File)
Mar 1 2026, 2:42 PM
Unknown Object (File)
Mar 1 2026, 10:24 AM
Unknown Object (File)
Mar 1 2026, 2:45 AM
Unknown Object (File)
Feb 23 2026, 10:03 PM
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