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, Oct 12, 11:19 PM
Unknown Object (File)
Sun, Oct 12, 11:19 PM
Unknown Object (File)
Sun, Oct 12, 11:19 PM
Unknown Object (File)
Sun, Oct 12, 11:54 AM
Unknown Object (File)
Mon, Sep 29, 11:03 PM
Unknown Object (File)
Sun, Sep 28, 2:06 PM
Unknown Object (File)
Sep 7 2025, 2:55 PM
Unknown Object (File)
Aug 31 2025, 3:08 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 55130
Build 52019: arc lint + arc unit