1. 27 11月, 2012 2 次提交
  2. 26 11月, 2012 2 次提交
  3. 22 11月, 2012 1 次提交
    • R
      add back NSIG, removed from powerpc in last commit, but for all archs · 65b98213
      Rich Felker 提交于
      unlike the previous definition, NSIG/_NSIG is supposed to be one more
      than the highest signal number. adding this will allow simplifying
      libc-internal code that makes signal-related syscalls, which can be
      done as a later step. some apps might use it too; while this usage is
      questionable, it's at least not insane.
      65b98213
  4. 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
  5. 18 11月, 2012 3 次提交
    • R
      fcntl.h: O_SEARCH was missing for powerpc · 8d2887f8
      rofl0r 提交于
      put some macros that do not differ between architectures in the
      main header and remove from bits.
      restructure mips header so it has the same structure as the others.
      8d2887f8
    • 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
    • R
      add stub versions of some missing optional pthread interfaces · 5c6443ac
      Rich Felker 提交于
      priority inheritance is not yet supported, and priority protection
      probably will not be supported ever unless there's serious demand for
      it (it's a fairly heavy-weight feature).
      
      per-thread cpu clocks would be nice to have, but to my knowledge linux
      is still not capable of supporting them. glibc fakes them by using the
      _process_ cpu-time clock and subtracting the thread creation time,
      which gives seriously incorrect semantics (worse than not supporting
      the feature at all), so until there's a way to do it right, it will
      remain as a stub that always fails.
      5c6443ac
  6. 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
  7. 13 11月, 2012 1 次提交
  8. 12 11月, 2012 2 次提交
    • R
      report support of TPS option in unistd.h and sysconf · 7df42e87
      Rich Felker 提交于
      also update another newish feature in sysconf, stackaddr
      7df42e87
    • R
      add support for thread scheduling (POSIX TPS option) · 1e21e78b
      Rich Felker 提交于
      linux's sched_* syscalls actually implement the TPS (thread
      scheduling) functionality, not the PS (process scheduling)
      functionality which the sched_* functions are supposed to have.
      omitting support for the PS option (and having the sched_* interfaces
      fail with ENOSYS rather than omitting them, since some broken software
      assumes they exist) seems to be the only conforming way to do this on
      linux.
      1e21e78b
  9. 06 11月, 2012 1 次提交
  10. 05 11月, 2012 1 次提交
  11. 01 11月, 2012 2 次提交
    • R
      b367ab15
    • R
      add dl_iterate_phdr interface · 18c0e02e
      Rich Felker 提交于
      patches by Alex Caudill (npx). the dynamic-linked version is almost
      identical to the final submitted patch; I just added a couple missing
      lines for saving the phdr address when the dynamic linker is invoked
      directly to run a program, and removed a couple to avoid introducing
      another unnecessary type. the static-linked version is based on npx's
      draft. it could use some improvements which are contingent on the
      startup code saving some additional information for later use.
      18c0e02e
  12. 22 10月, 2012 1 次提交
  13. 21 10月, 2012 1 次提交
  14. 17 10月, 2012 1 次提交
  15. 16 10月, 2012 2 次提交
  16. 01 10月, 2012 1 次提交
    • R
      add getopt reset support · 030e5263
      Rich Felker 提交于
      based on proposed patches by Daniel Cegiełka, with minor changes:
      - use a weak symbol for optreset so it doesn't clash with namespace
      - also reset optpos (position in multi-option arg like -lR)
      - also make getopt_long support reset
      030e5263
  17. 30 9月, 2012 3 次提交
  18. 29 9月, 2012 1 次提交
    • R
      microblaze port · 8c0a3d9e
      Rich Felker 提交于
      based on initial work by rdp, with heavy modifications. some features
      including threads are untested because qemu app-level emulation seems
      to be broken and I do not have a proper system image for testing.
      8c0a3d9e
  19. 21 9月, 2012 1 次提交
  20. 17 9月, 2012 1 次提交
  21. 16 9月, 2012 1 次提交
  22. 14 9月, 2012 2 次提交
  23. 10 9月, 2012 6 次提交
  24. 09 9月, 2012 1 次提交
    • R
      syscall organization overhaul · 208eb584
      Rich Felker 提交于
      now public syscall.h only exposes __NR_* and SYS_* constants and the
      variadic syscall function. no macros or inline functions, no
      __syscall_ret or other internal details, no 16-/32-bit legacy syscall
      renaming, etc. this logic has all been moved to src/internal/syscall.h
      with the arch-specific parts in arch/$(ARCH)/syscall_arch.h, and the
      amount of arch-specific stuff has been reduced to a minimum.
      
      changes still need to be reviewed/double-checked. minimal testing on
      i386 and mips has already been performed.
      208eb584