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)
May 14 2026, 2:30 AM
Unknown Object (File)
May 6 2026, 3:08 AM
Unknown Object (File)
Apr 30 2026, 5:12 PM
Unknown Object (File)
Apr 29 2026, 12:35 AM
Unknown Object (File)
Apr 29 2026, 12:30 AM
Unknown Object (File)
Apr 20 2026, 8:05 PM
Unknown Object (File)
Apr 19 2026, 12:47 AM
Unknown Object (File)
Apr 17 2026, 12:57 AM
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