aboutsummaryrefslogtreecommitdiff
path: root/src/process/execv.c (unfollow)
Commit message (Expand)AuthorFilesLines
2012-07-24retry on cas failures in sem_trywait•••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. Rich Felker1-2/+2
2012-07-23gcc wrapper improvement: leave libgcc dir in the library path•••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. Rich Felker1-1/+1
2012-07-23add ioperm/iopl syscalls•••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... Rich Felker3-0/+31
2012-07-23add splice and vmsplice syscalls•••based on patches by orc and Isaac Dunham. Rich Felker3-0/+28
2012-07-23add extended attributes syscalls•••based on patch by orc and Isaac Dunham, with some fixes. Rich Felker2-0/+74
2012-07-23add pipe2 syscall•••based on patch by orc and Isaac Dunham, with some details fixed. Rich Felker2-0/+9
2012-07-22remove scanf dependency from getaddrinfo /etc/services supportRich Felker1-5/+4
2012-07-22getaddrinfo /etc/services lookup supportRich Felker1-3/+16
2012-07-22fix namespace issue in prototypes in math.hRich Felker1-2/+2
2012-07-22fix wrong size for sigjmp_buf signal set array•••128 is the size in bytes, not longs. Rich Felker1-1/+1
2012-07-22add floating point register saving/restoring to mips setjmp/longjmp•••also fix the alignment of jmp_buf to meet the abi. linux always emulates fpu on mips if it's not present, so enabling this code unconditionally is "safe" but may be slow. in the long term it may be preferable to find a way to disable it on soft float builds. Rich Felker3-2/+30
2012-07-22make getservby*_r return error code rather than -1 (and using errno)•••untested but should be correct.. Rich Felker2-19/+35
2012-07-21fix logic error for skipping failed interfaces in if_nameindexRich Felker1-8/+7
2012-07-19fix typo in aio.hRich Felker1-1/+1
2012-07-14fix getservby*() with null pointer for protocol argument•••not sure this is the best fix but it should work Rich Felker2-0/+8
2012-07-14avoid blx instruction which does not exist on armv4t or armv4Rich Felker1-1/+2
2012-07-13make dynamic linker tell the debugger its own pathname•••use the main program's PT_INTERP header if possible, since this is sure to be a correct (and hopefully absolute) pathname. Rich Felker1-0/+5
2012-07-12fix broken mips a_fetch_add•••sc was overwriting the result Rich Felker1-7/+7