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)
Sat, Nov 30, 6:13 AM
Unknown Object (File)
Wed, Nov 6, 5:52 AM
Unknown Object (File)
Wed, Nov 6, 3:46 AM
Unknown Object (File)
Sun, Nov 3, 1:28 AM
Unknown Object (File)
Sep 28 2024, 8:34 AM
Unknown Object (File)
Sep 27 2024, 8:40 AM
Unknown Object (File)
Sep 27 2024, 4:17 AM
Unknown Object (File)
Sep 26 2024, 7:08 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