Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When will the Linux accept(2) bug be fixed?

bug fixed linux
0
10 Posted

When will the Linux accept(2) bug be fixed?

0

• (REG) Firstly, this is not a bug in the Linux kernel, despite the fact that the “Sendmail 8.9.0 Known Bugs List” states there is a bug with Linux accept(2). The Linux accept(2) call can return the ETIMEDOUT error when there are system resource problems. This is not wrong, just different from what Sendmail expects. Since accept(2) is not part of the POSIX standard, it cannot be claimed that Linux is violating it. I’m told that the Single UNIX Specification, Version 2 (SUSv2), which is much newer, implicitly prohibits ETIMEDOUT. Nevertheless, the networking hackers are not inclined to change this behaviour. They seem to prefer to follow POSIX in this, perhaps following the maxim the great thing about standards is that there are so many to choose from. Note also that BSD documents slightly different behaviour from SUSv2. It is prudent for an application to deal gracefully with unexpected error codes.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.