1. 13 4月, 2011 7 次提交
  2. 12 4月, 2011 1 次提交
  3. 11 4月, 2011 5 次提交
  4. 07 4月, 2011 3 次提交
  5. 06 4月, 2011 5 次提交
  6. 05 4月, 2011 1 次提交
    • R
      support the nonstandard err.h interfaces · 39e48531
      Rich Felker 提交于
      note that unlike the originals, these do not print the program
      name/argv[0] because we have not saved it anywhere. this could be
      changed in __libc_start_main if desired.
      39e48531
  7. 04 4月, 2011 2 次提交
  8. 03 4月, 2011 1 次提交
    • R
      d_fileno alias for d_ino in dirent · 06baa2b5
      Rich Felker 提交于
      this is nonstandard but since POSIX reserved d_ prefix in dirent.h we
      might as well define it unconditionally. some programs depend on it.
      06baa2b5
  9. 02 4月, 2011 2 次提交
  10. 31 3月, 2011 1 次提交
  11. 30 3月, 2011 2 次提交
    • R
      missing prototype for wcscoll (stub) · 1c1aa32e
      Rich Felker 提交于
      1c1aa32e
    • R
      implement POSIX timers · 80c4dcd2
      Rich Felker 提交于
      this implementation is superior to the glibc/nptl implementation, in
      that it gives true realtime behavior. there is no risk of timer
      expiration events being lost due to failed thread creation or failed
      malloc, because the thread is created as time creation time, and
      reused until the timer is deleted.
      80c4dcd2
  12. 29 3月, 2011 1 次提交
  13. 26 3月, 2011 1 次提交
    • R
      match glibc/lsb cancellation abi on i386 · ea343364
      Rich Felker 提交于
      glibc made the ridiculous choice to use pass-by-register calling
      convention for these functions, which is impossible to duplicate
      directly on non-gcc compilers. instead, we use ugly asm to wrap and
      convert the calling convention. presumably this works with every
      compiler anyone could potentially want to use.
      ea343364
  14. 20 3月, 2011 3 次提交
    • R
      syscall overhaul part two - unify public and internal syscall interface · 685e40bb
      Rich Felker 提交于
      with this patch, the syscallN() functions are no longer needed; a
      variadic syscall() macro allows syscalls with anywhere from 0 to 6
      arguments to be made with a single macro name. also, manually casting
      each non-integer argument with (long) is no longer necessary; the
      casts are hidden in the macros.
      
      some source files which depended on being able to define the old macro
      SYSCALL_RETURNS_ERRNO have been modified to directly use __syscall()
      instead of syscall(). references to SYSCALL_SIGSET_SIZE and SYSCALL_LL
      have also been changed.
      
      x86_64 has not been tested, and may need a follow-up commit to fix any
      minor bugs/oversights.
      685e40bb
    • R
      add some ioctl stuff to sys/mount.h · b0e83133
      Rich Felker 提交于
      b0e83133
    • R
      overhaul syscall interface · d00ff295
      Rich Felker 提交于
      this commit shuffles around the location of syscall definitions so
      that we can make a syscall() library function with both SYS_* and
      __NR_* style syscall names available to user applications, provides
      the syscall() library function, and optimizes the code that performs
      the actual inline syscalls in the library itself.
      
      previously on i386 when built as PIC (shared library), syscalls were
      incurring bus lock (lock prefix) overhead at entry and exit, due to
      the way the ebx register was being loaded (xchg instruction with a
      memory operand). now the xchg takes place between two registers.
      
      further cleanup to arch/$(ARCH)/syscall.h is planned.
      d00ff295
  15. 19 3月, 2011 2 次提交
  16. 18 3月, 2011 2 次提交
    • R
      implement [v]swprintf · e18b5638
      Rich Felker 提交于
      e18b5638
    • R
      implement robust mutexes · 047e434e
      Rich Felker 提交于
      some of this code should be cleaned up, e.g. using macros for some of
      the bit flags, masks, etc. nonetheless, the code is believed to be
      working and correct at this point.
      047e434e
  17. 14 3月, 2011 1 次提交