1. 09 9月, 2012 2 次提交
  2. 08 9月, 2012 5 次提交
  3. 07 9月, 2012 2 次提交
    • R
      cleanup src/linux and src/misc trees, etc. · b9bb8f67
      Rich Felker 提交于
      previously, it was pretty much random which one of these trees a given
      function appeared in. they have now been organized into:
      
      src/linux: non-POSIX linux syscalls (possibly shard with other nixen)
      src/legacy: various obsolete/legacy functions, mostly wrappers
      src/misc: still mostly uncategorized; some misc POSIX, some nonstd
      src/crypt: crypt hash functions
      
      further cleanup will be done later.
      b9bb8f67
    • R
      further use of _Noreturn, for non-plain-C functions · 0c05bd3a
      Rich Felker 提交于
      note that POSIX does not specify these functions as _Noreturn, because
      POSIX is aligned with C99, not the new C11 standard. when POSIX is
      eventually updated to C11, it will almost surely give these functions
      the _Noreturn attribute. for now, the actual _Noreturn keyword is not
      used anyway when compiling with a c99 compiler, which is what POSIX
      requires; the GCC __attribute__ is used instead if it's available,
      however.
      
      in a few places, I've added infinite for loops at the end of _Noreturn
      functions to silence compiler warnings. presumably
      __buildin_unreachable could achieve the same thing, but it would only
      work on newer GCCs and would not be portable. the loops should have
      near-zero code size cost anyway.
      
      like the previous _Noreturn commit, this one is based on patches
      contributed by philomath.
      0c05bd3a
  4. 16 8月, 2012 1 次提交
  5. 15 8月, 2012 1 次提交
  6. 10 8月, 2012 1 次提交
    • R
      fix (hopefully) all hard-coded 8's for kernel sigset_t size · 2f437040
      Rich Felker 提交于
      some minor changes to how hard-coded sets for thread-related purposes
      are handled were also needed, since the old object sizes were not
      necessarily sufficient. things have gotten a bit ugly in this area,
      and i think a cleanup is in order at some point, but for now the goal
      is just to get the code working on all supported archs including mips,
      which was badly broken by linux rejecting syscalls with the wrong
      sigset_t size.
      2f437040
  7. 24 7月, 2012 4 次提交
    • 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 splice and vmsplice syscalls · 53147f90
      Rich Felker 提交于
      based on patches by orc and Isaac Dunham.
      53147f90
    • R
      add extended attributes syscalls · 207460d0
      Rich Felker 提交于
      based on patch by orc and Isaac Dunham, with some fixes.
      207460d0
    • R
      add pipe2 syscall · 42f0e965
      Rich Felker 提交于
      based on patch by orc and Isaac Dunham, with some details fixed.
      42f0e965
  8. 24 6月, 2012 1 次提交
  9. 20 6月, 2012 1 次提交
    • R
      add vhangup syscall wrapper · 25c84449
      Rich Felker 提交于
      request/patch by william haddonthethird, slightly modifed to add
      _GNU_SOURCE feature test macro so that the compiler can verify the
      prototype matches.
      25c84449
  10. 13 6月, 2012 2 次提交
    • R
      add init_module/delete_module syscall wrappers · 2169265e
      Rich Felker 提交于
      these are not exposed publicly in any header, but the few programs
      that use them (modutils/kmod, etc.) are declaring the functions
      themselves rather than making the syscalls directly, and it doesn't
      really hurt to have them (same as the capset junk).
      2169265e
    • R
      add deprecated capabilities functions · e361019c
      Rich Felker 提交于
      these were left in glibc for binary compatibility after the public
      part of the interface was removed, and libcap kept using them (with
      its own copy of the header files) rather than just making the syscalls
      directly. might as well add them since they're so small...
      e361019c
  11. 22 5月, 2012 1 次提交
  12. 30 4月, 2012 1 次提交
  13. 19 4月, 2012 1 次提交
    • R
      legacy junk compatibility grab-bag · ba6a9e77
      Rich Felker 提交于
      - add the rest of the junk traditionally in sys/param.h
      - add prototypes for some nonstandard functions
      - add _GNU_SOURCE to their source files so the compiler can check proto
      ba6a9e77
  14. 17 3月, 2012 1 次提交
  15. 15 3月, 2012 2 次提交
  16. 29 1月, 2012 1 次提交
  17. 24 12月, 2011 1 次提交
  18. 29 9月, 2011 1 次提交
  19. 28 9月, 2011 2 次提交
  20. 26 9月, 2011 1 次提交
    • R
      cleanup various minor issues reported by nsz · fd142e5e
      Rich Felker 提交于
      the changes to syscall_ret are mostly no-ops in the generated code,
      just cleanup of type issues and removal of some implementation-defined
      behavior. the one exception is the change in the comparison value,
      which is fixed so that 0xf...f000 (which in principle could be a valid
      return value for mmap, although probably never in reality) is not
      treated as an error return.
      fd142e5e
  21. 03 8月, 2011 1 次提交
  22. 23 5月, 2011 1 次提交
  23. 08 5月, 2011 1 次提交
  24. 21 4月, 2011 1 次提交
  25. 14 4月, 2011 2 次提交
  26. 13 4月, 2011 1 次提交
  27. 07 4月, 2011 1 次提交