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, Oct 12, 6:12 AM
Unknown Object (File)
Sat, Oct 11, 8:01 PM
Unknown Object (File)
Sat, Oct 11, 8:01 PM
Unknown Object (File)
Sat, Oct 11, 8:01 PM
Unknown Object (File)
Sat, Oct 11, 8:00 PM
Unknown Object (File)
Wed, Oct 8, 5:14 PM
Unknown Object (File)
Tue, Oct 7, 11:10 AM
Unknown Object (File)
Sun, Oct 5, 9:58 AM
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