[Haskell-cafe] Race conditions with threadWait(Read/Write) and closeFdWith

Brandon Allbery allbery.b at gmail.com
Mon Sep 1 12:45:48 UTC 2014


On Mon, Sep 1, 2014 at 4:17 AM, Leon Smith <leon.p.smith at gmail.com> wrote:

> I was very tangentially involved with a use-after-close IO descriptor
> fault recently,  and I came to realize that descriptor indexes are
> typically allocated by the smallest available index


You do realize that Fd is a system file descriptor, and the only way you're
going to change its allocation strategy is a kernel patch?

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140901/0cad13ba/attachment.html>


More information about the Haskell-Cafe mailing list