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, 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
Unknown Object (File)
Sep 23 2024, 4:27 PM
Unknown Object (File)
Sep 18 2024, 12:22 PM
Unknown Object (File)
Sep 16 2024, 11:05 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