Maximum number of file descriptors that may be passed via SCM_RIGHTS

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

 



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.


Attachment: pgp7pcIwimJoC.pgp
Description: PGP signature


[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