1. 20 6月, 2014 1 次提交
    • R
      implement sendmmsg and recvmmsg · acb7e049
      Rich Felker 提交于
      these are not pure syscall wrappers because they have to work around
      kernel API bugs on 64-bit archs. the workarounds could probably be
      made somewhat more efficient, but at the cost of more complexity. this
      may be revisited later.
      acb7e049
  2. 31 5月, 2014 1 次提交
  3. 25 2月, 2014 1 次提交
  4. 09 1月, 2014 1 次提交
    • R
      fix remaining known namespace violations for netinet/in.h · acde0135
      Rich Felker 提交于
      the imr_, imsf_, ip6_, ip6m_, ipi_, ipi6_, SCM_, and SOL_ prefixes are
      not in the reserved namespace for this header. thus the constants and
      structures using them need to be protected under appropriate feature
      test macros.
      
      this also affects some headers which are permitted to include
      netinet/in.h, particularly netdb.h and arpa/inet.h.
      
      the SOL_ macros are moved to sys/socket.h where they are in the
      reserved namespace (SO*). they are still accessible via netinet/in.h
      since it includes sys/socket.h implicitly (which is permitted).
      
      the SCM_SRCRT macro is simply removed, since the definition used for
      it, IPV6_RXSRCRT is not defined anywhere. it could be re-added, this
      time in sys/socket.h, if the appropriate value can be determined;
      however, given that the erroneous definition was not caught, it is
      unlikely that any software actually attempts to use SCM_SRCRT.
      acde0135
  5. 05 12月, 2013 2 次提交
  6. 18 10月, 2013 1 次提交
  7. 15 9月, 2013 1 次提交
  8. 25 7月, 2013 2 次提交
  9. 02 4月, 2013 1 次提交
  10. 05 3月, 2013 1 次提交
  11. 13 1月, 2013 1 次提交
  12. 20 12月, 2012 1 次提交
  13. 16 11月, 2012 1 次提交
    • R
      disable SO_REUSEPORT in sys/socket.h · 91738d02
      Rich Felker 提交于
      although a number is reserved for it, this option is not implemented
      on Linux and does not work. defining it causes some applications to
      use it, and subsequently break due to its failure.
      91738d02
  14. 06 11月, 2012 1 次提交
  15. 30 9月, 2012 1 次提交
  16. 09 9月, 2012 2 次提交
  17. 07 9月, 2012 1 次提交
    • R
      use restrict everywhere it's required by c99 and/or posix 2008 · 400c5e5c
      Rich Felker 提交于
      to deal with the fact that the public headers may be used with pre-c99
      compilers, __restrict is used in place of restrict, and defined
      appropriately for any supported compiler. we also avoid the form
      [restrict] since older versions of gcc rejected it due to a bug in the
      original c99 standard, and instead use the form *restrict.
      400c5e5c
  18. 06 8月, 2012 1 次提交
    • R
      fix socket.h on mips · 7fee5f96
      Rich Felker 提交于
      why does mips have to be gratuitously incompatible in every possible
      imaginable way?
      7fee5f96
  19. 13 7月, 2012 1 次提交
    • 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
  20. 19 9月, 2011 1 次提交
  21. 17 6月, 2011 1 次提交
  22. 15 2月, 2011 1 次提交
  23. 12 2月, 2011 1 次提交