Linus Torvalds wrote: > Which *could* be something as simple as saying "bit 30 in the file > descriptor specifies a separate fd space" along with some flags to make > open and friends return those separate fd's. That makes them useless for > "select()" (which assumes a flat address space, of course), but would be > useful for just about anything else. >
Some programs - legitimately, I think - scan /proc/self/fd to close everything. The question is whether the glibc-private fds should appear there. And something like a "close-on-fork" flag might be useful, though I guess glibc can keep track of its own fds closely enough to not need something like that. J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/