mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-09 02:29:07 +08:00
And use it in recvmsg. I'm not sure this implementation is what was intended when the evaluate_cmsg_data method was added. For now, just support an ancillary data block consisting of a single cmsghdr, containing SCM_CREDENTIALS. For convenience, add a 'mshdr *' argument and make the 'cloexec' argument false by default. The 'cloexec' argument is not currently used, and I want to avoid having to artificially specify a value for it when recvmsg calls evaluate_cmsg_data.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cygwin documentation is available on the net at https://cygwin.com You might especially be interested in https://cygwin.com/faq/faq.html#faq.programming.building-cygwin