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)
Mon, Feb 3, 11:58 PM
Unknown Object (File)
Jan 6 2025, 11:35 AM
Unknown Object (File)
Dec 22 2024, 12:25 AM
Unknown Object (File)
Nov 24 2024, 2:41 PM
Unknown Object (File)
Nov 1 2024, 3:25 AM
Unknown Object (File)
Sep 27 2024, 12:46 PM
Unknown Object (File)
Sep 24 2024, 12:41 PM
Unknown Object (File)
Sep 24 2024, 3:19 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 Not Applicable
Unit
Tests Not Applicable

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