Right, I'm not suggesting changing the allocation strategy. (although, I think that would be a simpler and more elegant solution...) I'm pointing out a problem and seeing if anybody has any insight into it, without patching any kernels. ;-) best, Leon On Mon, Sep 1, 2014 at 8:45 AM, Brandon Allbery <allbery.b@gmail.com> wrote:
On Mon, Sep 1, 2014 at 4:17 AM, Leon Smith <leon.p.smith@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@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net