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
F153381352: D43099.id131550.diff
Mon, Apr 20, 8:05 PM
Unknown Object (File)
Sun, Apr 19, 12:47 AM
Unknown Object (File)
Fri, Apr 17, 12:57 AM
Unknown Object (File)
Wed, Apr 15, 11:12 AM
Unknown Object (File)
Mon, Apr 13, 5:53 PM
Unknown Object (File)
Fri, Apr 10, 2:08 PM
Unknown Object (File)
Mar 7 2026, 3:25 PM
Unknown Object (File)
Feb 24 2026, 3:40 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 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