Roland Dreier wrote:
I think the problem is that exec() does not clean everything up.
AFAIK exec doesn't close open file descriptors so there's no way for
the kernel uverbs module to know that it should clean up.

There is a file descriptor flag that can be set with fcntl(): FD_CLOEXEC

If this flag is set on an fd, the kernel closes that file descriptor on execve().

Otherwise, the file descriptor remains open.

Cheers,
Dan

--
Dan Noe ([EMAIL PROTECTED])
Software Engineer
Lamprey Networks, Inc.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to