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)
Sun, Nov 3, 10:30 PM
Unknown Object (File)
Oct 16 2024, 7:32 AM
Unknown Object (File)
Sep 22 2024, 11:23 PM
Unknown Object (File)
Sep 22 2024, 5:43 PM
Unknown Object (File)
Sep 22 2024, 6:45 AM
Unknown Object (File)
Sep 18 2024, 7:23 PM
Unknown Object (File)
Sep 18 2024, 5:22 AM
Unknown Object (File)
Sep 17 2024, 12:28 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