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)
Sat, Nov 22, 6:08 PM
Unknown Object (File)
Sun, Nov 16, 1:38 AM
Unknown Object (File)
Sat, Nov 8, 6:57 PM
Unknown Object (File)
Tue, Nov 4, 10:56 AM
Unknown Object (File)
Sat, Nov 1, 3:05 PM
Unknown Object (File)
Oct 29 2025, 12:31 AM
Unknown Object (File)
Oct 27 2025, 1:28 PM
Unknown Object (File)
Oct 26 2025, 2:46 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