1. 10 8月, 2012 2 次提交
    • R
      add defines for number of sigset_t bytes syscalls expect · 83b42d94
      Rich Felker 提交于
      yet another gratuitous mips incompatibility...
      83b42d94
    • R
      make crypt return an unmatchable hash rather than NULL on failure · b3c4cc12
      Rich Felker 提交于
      unfortunately, a large portion of programs which call crypt are not
      prepared for its failure and do not check that the return value is
      non-null before using it. thus, always "succeeding" but giving an
      unmatchable hash is reportedly a better behavior than failing on
      error.
      
      it was suggested that we could do this the same way as other
      implementations and put the null-to-unmatchable translation in the
      wrapper rather than the individual crypt modules like crypt_des, but
      when i tried to do it, i found it was making the logic in __crypt_r
      for keeping track of which hash type we're working with and whether it
      succeeded or failed much more complex, and potentially error-prone.
      the way i'm doing it now seems to have essentially zero cost, anyway.
      b3c4cc12
  2. 08 8月, 2012 3 次提交
  3. 06 8月, 2012 10 次提交
  4. 05 8月, 2012 4 次提交
  5. 03 8月, 2012 4 次提交
  6. 01 8月, 2012 1 次提交
  7. 27 7月, 2012 2 次提交
  8. 24 7月, 2012 6 次提交
    • R
      retry on cas failures in sem_trywait · 07e62953
      Rich Felker 提交于
      this seems counter-intuitive since sem_trywait is supposed to just try
      once, not wait for the semaphore. however, the retry loop is not a
      wait. instead, it's to handle the case where the value changes due to
      a simultaneous post or wait from another thread while the semaphore
      value remains positive. in such a case, it's absolutely wrong for
      sem_trywait to fail with EAGAIN because the semaphore is not busy.
      07e62953
    • R
      gcc wrapper improvement: leave libgcc dir in the library path · 5d26d5d1
      Rich Felker 提交于
      this is needed in case -lgcc is passed explicitly on the link command
      line, for example if the wrapper is being used to build musl itself.
      5d26d5d1
    • 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
  9. 23 7月, 2012 6 次提交
  10. 22 7月, 2012 1 次提交
  11. 19 7月, 2012 1 次提交