Page MenuHomeFreeBSD

nmount: Ignore errors when copying out an error string
ClosedPublic

Authored by markj on Dec 21 2023, 2:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 4, 7:26 PM
Unknown Object (File)
Mon, Jan 27, 4:47 PM
Unknown Object (File)
Mon, Jan 27, 4:32 PM
Unknown Object (File)
Dec 18 2024, 11:30 AM
Unknown Object (File)
Dec 10 2024, 3:19 PM
Unknown Object (File)
Nov 18 2024, 5:56 AM
Unknown Object (File)
Nov 18 2024, 3:20 AM
Unknown Object (File)
Nov 8 2024, 5:19 AM
Subscribers

Details

Summary

In general we copy error strings as part of reporting an error from
lower layers, so if the copyout() fails there's nothing to do since we'd
prefer to preserve the original error.

This is in preparation for annotating copyin() and related functions
with __result_use_check.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 55062
Build 51951: arc lint + arc unit