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)
Feb 16 2025, 4:55 AM
Unknown Object (File)
Feb 9 2025, 3:01 AM
Unknown Object (File)
Jan 27 2025, 4:32 PM
Unknown Object (File)
Jan 26 2025, 9:23 PM
Unknown Object (File)
Jan 23 2025, 6:27 PM
Unknown Object (File)
Jan 11 2025, 5:02 AM
Unknown Object (File)
Jan 11 2025, 2:02 AM
Unknown Object (File)
Dec 7 2024, 11:47 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