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
F169607865: D38968.diff
Wed, Sep 2, 1:30 AM
Unknown Object (File)
Mon, Aug 31, 3:16 AM
Unknown Object (File)
Mon, Aug 31, 1:55 AM
Unknown Object (File)
Wed, Aug 26, 1:12 AM
Unknown Object (File)
Sun, Aug 23, 1:00 AM
Unknown Object (File)
Sun, Aug 9, 9:24 AM
Unknown Object (File)
Sun, Aug 9, 9:22 AM
Unknown Object (File)
Sun, Aug 9, 9:08 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 50215
Build 47107: arc lint + arc unit