Page MenuHomeFreeBSD

targ: Handle errors from suword()
ClosedPublic

Authored by markj on Dec 26 2023, 11:57 PM.
Tags
None
Referenced Files
F163361109: D43202.id131887.diff
Wed, Jul 22, 12:27 PM
Unknown Object (File)
Sat, Jul 18, 7:15 PM
Unknown Object (File)
Wed, Jul 8, 9:14 PM
Unknown Object (File)
Tue, Jul 7, 1:12 AM
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
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