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)
Wed, Sep 4, 9:45 PM
Unknown Object (File)
Sat, Aug 24, 10:40 PM
Unknown Object (File)
Sun, Aug 11, 5:17 PM
Unknown Object (File)
Jul 20 2024, 1:49 AM
Unknown Object (File)
Jul 12 2024, 9:59 PM
Unknown Object (File)
Jul 12 2024, 9:58 PM
Unknown Object (File)
Jul 12 2024, 9:58 PM
Unknown Object (File)
Jul 12 2024, 9:58 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