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, Dec 25, 12:32 PM
Unknown Object (File)
Thu, Dec 11, 2:37 PM
Unknown Object (File)
Mon, Dec 1, 11:57 PM
Unknown Object (File)
Nov 22 2025, 6:08 PM
Unknown Object (File)
Nov 16 2025, 1:38 AM
Unknown Object (File)
Nov 8 2025, 6:57 PM
Unknown Object (File)
Nov 4 2025, 10:56 AM
Unknown Object (File)
Nov 1 2025, 3: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