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
F108592247: D38968.id118622.diff
Sun, Jan 26, 5:58 PM
Unknown Object (File)
Sat, Jan 18, 9:35 PM
Unknown Object (File)
Dec 11 2024, 2:38 PM
Unknown Object (File)
Nov 29 2024, 2:26 AM
Unknown Object (File)
Nov 25 2024, 11:25 AM
Unknown Object (File)
Nov 3 2024, 10:30 PM
Unknown Object (File)
Oct 16 2024, 7:32 AM
Unknown Object (File)
Sep 22 2024, 11:23 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