• R
    workaround another sendmsg kernel bug on 64-bit machines · 96107564
    Rich Felker 提交于
    the kernel wrongly expects the cmsg length field to be size_t instead
    of socklen_t. in order to work around the issue, we have to impose a
    length limit and copy to a local buffer. the length limit should be
    more than sufficient for any real-world use; these headers are only
    used for passing file descriptors and permissions between processes
    over unix sockets.
    96107564
socket.h 239 字节