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
F102861972: D43147.diff
Mon, Nov 18, 3:20 AM
Unknown Object (File)
Fri, Nov 8, 5:19 AM
Unknown Object (File)
Mon, Nov 4, 7:07 PM
Unknown Object (File)
Tue, Oct 22, 10:29 AM
Unknown Object (File)
Oct 2 2024, 9:55 PM
Unknown Object (File)
Oct 2 2024, 7:12 PM
Unknown Object (File)
Oct 2 2024, 2:16 PM
Unknown Object (File)
Sep 26 2024, 10:03 PM
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 Not Applicable
Unit
Tests Not Applicable