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)
Tue, Nov 25, 10:31 PM
Unknown Object (File)
Mon, Nov 24, 12:30 PM
Unknown Object (File)
Sun, Nov 23, 4:41 PM
Unknown Object (File)
Sat, Nov 22, 6:20 PM
Unknown Object (File)
Nov 2 2025, 3:07 PM
Unknown Object (File)
Oct 29 2025, 9:49 PM
Unknown Object (File)
Oct 29 2025, 9:47 PM
Unknown Object (File)
Oct 29 2025, 9:46 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