On Wed, Aug 16, 2006 at 02:25:05PM -0700, Carson Gaspar wrote:
> --On Wednesday, August 16, 2006 10:56 PM +0200 Markus Friedl
> wrote:
>
> > if a file is opened and the resource limit is decreased,
> > then looping to the resource limit will miss some open files.

>
> Does any UNIX variant have a "close all my open fds except for these"


openbsd has closefrom(2), and openssh tries to emulate this
syscall if it's not available.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev