Page MenuHomeFreeBSD

compat_freebsd4: Check for errors from subyte() in freebsd4_uname()
ClosedPublic

Authored by markj on Dec 19 2023, 3:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 24, 7:11 PM
Unknown Object (File)
Thu, Sep 24, 7:10 PM
Unknown Object (File)
Thu, Sep 24, 6:39 PM
Unknown Object (File)
Thu, Sep 24, 4:59 PM
Unknown Object (File)
Mon, Sep 14, 11:20 PM
Unknown Object (File)
Sat, Sep 5, 12:24 PM
Unknown Object (File)
Aug 29 2026, 5:31 PM
Unknown Object (File)
Aug 15 2026, 4:05 PM
Subscribers

Details

Summary

This is in preparation for adding a __result_use_check annotation to
copyin() and related functions.

Possibly the right thing to do here is to instead suppress errors with a
cast to void, since that's more compatible with the existing behaviour.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 55005
Build 51894: arc lint + arc unit

Event Timeline

markj requested review of this revision.Dec 19 2023, 3:13 AM
This revision is now accepted and ready to land.Dec 19 2023, 7:54 AM