Re: Maximum number of file descriptors that may be passed via SCM_RIGHTS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Sam,

On Thu, May 26, 2011 at 1:57 AM, Sam Varshavchik <mrsam@xxxxxxxxxxxxxxx> wrote:
> Anyone knows if the maximum number of file descriptors that can be passed
> via SCM_RIGHTS is documented anywhere?
>
> Up to at least 2.6.35, I could stuff as many as 255 file descriptors. Which
> sort of made sense.
>
> I updated to Fedora 15, which is based on 2.6.38, and the maximum number of
> file descriptors I can stuff into a message seems to be 253. With 254,
> strace tells me that the kernel refuses with EINVAL.

No info on this sorry. Let me know if you determine(d) the details.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux