This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author baikie
Recipients baikie, brett.cannon, brian, exarkun, giampaolo.rodola, jackdied, janssen, jcea, ncoghlan, neologix, pitrou, python-dev, rosslagerwall, rpointel, schmichael, synapse, therve, vstinner, wiml
Date 2014-02-22.22:23:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393107791.15.0.0660153649673.issue20669@psf.upfronthosting.co.za>
In-reply-to
Content
> I opened the issue #20718 to track the "FD pass" failures.

But the failures in the current issue *all* involve FD passing :)

The "Message too long" errors are in tests where the ancillary data (in this case file descriptors) is truncated, rather than the normal data, so msg_iovlen shouldn't be a problem there (and MSG_CTRUNC would normally be set, rather than MSG_TRUNC).

I suppose the most likely reason for a process to be sent too many file descriptors is that someone is attempting a denial-of-service attack on it, so perhaps returning EMSGSIZE is intended as a "fail safe" response, even if it isn't blessed by POSIX?
History
Date User Action Args
2014-02-22 22:23:11baikiesetrecipients: + baikie, brett.cannon, jcea, exarkun, ncoghlan, janssen, pitrou, therve, vstinner, jackdied, giampaolo.rodola, schmichael, synapse, wiml, neologix, rosslagerwall, python-dev, brian, rpointel
2014-02-22 22:23:11baikiesetmessageid: <1393107791.15.0.0660153649673.issue20669@psf.upfronthosting.co.za>
2014-02-22 22:23:11baikielinkissue20669 messages
2014-02-22 22:23:10baikiecreate