Vincent Danjean <firstname.lastname@example.org> writes:
> I agree, too. If I remember correctly, there has been discussion in libc
> and/or kernel to be able to open files with random high-numbered file
> descriptors. When these mechanisms will be ready, a deamon will be
> unable to close all its file descriptors (unless it closes the whole
> range of fd (0--2^16 ?) or unless an application can get a list of its
> open fds).
Yeah, I believe this problem may already exist on the Hurd, which tries to
avoid any set limits on things like file descriptors. That's another
reason why I'm not fond of these close loops.
Russ Allbery (email@example.com) <http://www.eyrie.org/~eagle/>