Re: MSG_TRUNC and UNIX domain sockets (unix(7))

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

 



On 16 January 2017 at 08:56, Sergey Polovko <sergey@xxxxxxxxxx> wrote:
> Hi,
>
> It seems that unix(7) and recv(2) man pages have different information about using MSG_TRUNC flag with UNIX domain sockets.
> Unix(7) man page says that this flag is not supported by UNIX domain sockets but actually it does. I wrote a simple program to
> check usage of this flag. Recv(2) man pages says that it supports since linux 3.4. Unfortunately I have no such old kernel near me
> but on 3.11, 3.13, 3.18 and 4.4 that I have this flag works with AF_UNIX sockets.
>
> Could you please fix that?

Thanks. The recv(2) page is indeed correct. I've updated the unix(7)
page to note the change in Linux 3.4.

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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