Re: [PATCH] file descriptor loss while receiving SCM_RIGHTS

2006-10-09 Thread David Miller
From: Miklos Szeredi <[EMAIL PROTECTED]> Date: Sun, 08 Oct 2006 12:53:11 +0200 > If more than one file descriptor was sent with an SCM_RIGHTS message, > and on the receiving end, after installing a nonzero (but not all) > file descritpors the process runs out of fds, then the already > installed f

[PATCH] file descriptor loss while receiving SCM_RIGHTS

2006-10-08 Thread Miklos Szeredi
If more than one file descriptor was sent with an SCM_RIGHTS message, and on the receiving end, after installing a nonzero (but not all) file descritpors the process runs out of fds, then the already installed fds will be lost (userspace will have no way of knowing about them). The following patch