Page MenuHomeFreeBSD

cat: restore errno
ClosedPublic

Authored by oshogbo on Jan 15 2021, 8:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 5:53 AM
Unknown Object (File)
Tue, Oct 7, 3:46 PM
Unknown Object (File)
Fri, Sep 19, 4:52 PM
Unknown Object (File)
Sep 17 2025, 6:01 AM
Unknown Object (File)
Sep 14 2025, 11:56 PM
Unknown Object (File)
Sep 10 2025, 1:47 AM
Unknown Object (File)
Aug 31 2025, 11:03 PM
Unknown Object (File)
Aug 13 2025, 8:09 AM
Subscribers

Details

Summary

There is no guarantee that after close(2)/free the errno will be
persist. The caller of the udom_open function depends on the errno to
report errors.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable