Page MenuHomeFreeBSD

tftpd: Don't forget to close stderr on startup.
ClosedPublic

Authored by des on Mar 7 2023, 11:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 1, 3:25 AM
Unknown Object (File)
Sat, Sep 26, 4:21 AM
Unknown Object (File)
Wed, Sep 16, 7:39 PM
Unknown Object (File)
Wed, Sep 16, 6:39 PM
Unknown Object (File)
Wed, Sep 16, 6:03 PM
Unknown Object (File)
Sep 5 2026, 2:27 PM
Unknown Object (File)
Sep 4 2026, 2:07 AM
Unknown Object (File)
Sep 2 2026, 4:55 PM
Subscribers
None

Details

Summary

Just like stdin and stdout, stderr is a copy of the listen socket inherited from inetd. We need to close it so inetd can process further requests, be restarted, etc.

Sponsored by: Klara, Inc.

Diff Detail

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