1. 27 11月, 2012 1 次提交
  2. 26 11月, 2012 1 次提交
    • R
      make sys/procfs.h mostly work on most archs · 4b75f4ed
      Rich Felker 提交于
      these structures are purely for use by trace/debug tools and tools
      working with core files. the definition of fpregset_t, which was
      previously here, has been removed because it was wrong; fpregset_t
      should be the type used in mcontext_t, not the type used in
      ptrace/core stuff.
      4b75f4ed
  3. 19 11月, 2012 2 次提交
    • R
      fix breakage from introducing bits header for sys/io.h · 0004ea61
      Rich Felker 提交于
      apparently some other archs have sys/io.h and should not break just
      because they don't have the x86 port io functions. provide a blank
      bits/io.h everywhere for now.
      0004ea61
    • R
      add port io functions to sys/io.h · 61aa6324
      Rich Felker 提交于
      based on proposal by Isaac Dunham. nonexistance of bits/io.h will
      cause inclusion of sys/io.h to produce an error on archs that are not
      supposed to have it. this is probably the desired behavior, but the
      error message may be a bit unusual.
      61aa6324
  4. 18 11月, 2012 1 次提交
    • R
      add cleaned-up sys/mtio.h · d0197ff0
      Rich Felker 提交于
      this is mostly junk, but a few programs with tape-drive support
      unconditionally include it, and it might be useful.
      d0197ff0
  5. 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
  6. 06 11月, 2012 1 次提交
  7. 05 11月, 2012 1 次提交
  8. 22 10月, 2012 1 次提交
  9. 30 9月, 2012 1 次提交
  10. 21 9月, 2012 1 次提交
  11. 17 9月, 2012 1 次提交
  12. 10 9月, 2012 3 次提交
  13. 09 9月, 2012 3 次提交
  14. 08 9月, 2012 3 次提交
  15. 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
  16. 03 9月, 2012 1 次提交
    • R
      avoid "inline" in public headers for strict c89 compatibility · fb247faf
      Rich Felker 提交于
      while musl itself requires a c99 compiler, some applications insist on
      being compiled with c89 compilers, and use of "inline" in the headers
      was breaking them. much of this had been avoided already by just
      skipping the inline keyword in pre-c99 compilers or modes, but this
      new unified solution is cleaner and may/should result in better code
      generation in the default gcc configuration.
      fb247faf
  17. 25 8月, 2012 1 次提交
  18. 15 8月, 2012 1 次提交
  19. 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
  20. 24 7月, 2012 2 次提交
    • R
      add ioperm/iopl syscalls · d426b045
      Rich Felker 提交于
      based on patches by orc and Isaac Dunham, with some fixes. sys/io.h
      exists and contains prototypes for these functions regardless of
      whether the target arch has them; this is a bit unorthodox but I don't
      think it will break anything. the function definitions do not exist
      unless the appropriate SYS_* syscall number macro is defined, which
      should make sure configure scripts looking for these functions don't
      find them on other systems.
      
      presently, sys/io.h does not have the inb/outb/etc. port io
      macros/functions. I'd be surprised if ioperm/iopl are useful without
      them, so they probably need to be added at some point in appropriate
      bits/io.h files...
      d426b045
    • R
      add extended attributes syscalls · 207460d0
      Rich Felker 提交于
      based on patch by orc and Isaac Dunham, with some fixes.
      207460d0
  21. 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
  22. 24 6月, 2012 1 次提交
  23. 16 6月, 2012 1 次提交
  24. 08 6月, 2012 2 次提交
  25. 04 6月, 2012 1 次提交
    • R
      _GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE · 3b94daba
      Rich Felker 提交于
      this is ugly and stupid, but now that the *64 symbol names exist, a
      lot of broken GNU software detects them in configure, then either
      breaks during build due to missing off64_t definition, or attempts to
      compile without function declarations/prototypes. "fixing" it here is
      easier than telling everyone to add yet another feature test macro to
      their builds.
      3b94daba
  26. 23 5月, 2012 2 次提交
  27. 11 5月, 2012 1 次提交
  28. 10 5月, 2012 2 次提交
  29. 04 5月, 2012 1 次提交