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)
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
Unknown Object (File)
Sep 9 2024, 10:55 PM
Unknown Object (File)
Sep 4 2024, 4:11 AM
Unknown Object (File)
Sep 2 2024, 6:36 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