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. |
||
|---|---|---|
| .. | ||
| bits | ||
| atomic.h | ||
| pthread_arch.h | ||
| reloc.h | ||