Page MenuHomeFreeBSD

libiscsiutil: preserve errno across warning logs
ClosedPublic

Authored by kevans on Apr 21 2026, 4:41 AM.
Tags
None
Referenced Files
F175583818: D56539.id.diff
Sun, Oct 11, 8:23 PM
F175569131: D56539.id175947.diff
Sun, Oct 11, 6:40 PM
Unknown Object (File)
Wed, Oct 7, 6:42 AM
Unknown Object (File)
Wed, Oct 7, 4:12 AM
Unknown Object (File)
Tue, Oct 6, 10:04 PM
Unknown Object (File)
Tue, Oct 6, 8:30 PM
Unknown Object (File)
Tue, Oct 6, 8:19 PM
Unknown Object (File)
Thu, Oct 1, 5:31 AM
Subscribers

Details

Summary

Various calls in the implementation can clobber errno; preserve it for
the caller since none of these will bubble up pass/fail to simplify
some future error handling in ctld.

Diff Detail

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