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, Jul 2, 8:26 AM
Unknown Object (File)
Tue, Jul 2, 7:39 AM
Unknown Object (File)
Tue, Jul 2, 7:25 AM
Unknown Object (File)
Fri, Jun 28, 9:20 AM
Unknown Object (File)
Wed, Jun 26, 12:43 AM
Unknown Object (File)
Fri, Jun 21, 4:43 PM
Unknown Object (File)
Fri, Jun 21, 7:26 AM
Unknown Object (File)
May 21 2024, 3: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