aboutsummaryrefslogtreecommitdiff
path: root/include/resolv.h (unfollow)
Commit message (Expand)AuthorFilesLines
2011-10-14make available a namespace-safe vfork, if supported•••this may be useful to posix_spawn..? Rich Felker1-1/+4
2011-10-14add dummy __cxa_finalize•••musl's dynamic linker does not support unloading dsos, so there's nothing for this function to do. adding the symbol in case anything depends on its presence.. Rich Felker1-0/+4
2011-10-14support __cxa_atexit, and registering atexit functions from atexit handlers•••mildly tested; may have bugs. the locking should be updated not to use spinlocks but that's outside the scope of this one module. Rich Felker1-7/+26
2011-10-14simplify atexit and fflush-on-exit handlingRich Felker3-9/+12
2011-10-09fix F_GETOWN return value handling•••the fcntl syscall can return a negative value when the command is F_GETOWN, and this is not an error code but an actual value. thus we must special-case it and avoid calling __syscall_ret to set errno. this fix is better than the glibc fix (using F_GETOWN_EX) which only works on newer kernels and is more complex. Rich Felker1-0/+1
2011-10-09fix typo in arm clone() asmRich Felker1-1/+1
2011-10-05fix fcntl O_* flags for arm•••no idea why these 4 are permuted and the rest are standard/generic Rich Felker1-4/+4
2011-10-04make [U]INTn_C() macros have the right type...•••...and still be valid in #if directives. Rich Felker1-4/+4
2011-10-03recovering ownerdead robust mutex must reset recursive lock countRich Felker1-0/+1
2011-10-03simplify robust mutex unlock code path•••right now it's questionable whether this change is an improvement or not, but if we later want to support priority inheritance mutexes, it will be important to have the code paths unified like this to avoid major code duplication. Rich Felker1-4/+4
2011-10-03fix crash if pthread_mutex_unlock is called without ever locking•••this is valid for error-checking mutexes; otherwise it invokes UB and would be justified in crashing. Rich Felker1-1/+1
2011-10-03use count=0 instead of 1 for recursive mutex with only one lock reference•••this simplifies the code paths slightly, but perhaps what's nicer is that it makes recursive mutexes fully reentrant, i.e. locking and unlocking from a signal handler works even if the interrupted code was in the middle of locking or unlocking. Rich Felker2-4/+2
2011-10-03sysconf for PTHREAD_KEYS_MAXRich Felker1-1/+1
2011-10-02synchronize cond var destruction with exiting waitsRich Felker3-0/+12
2011-10-01fix failure-to-wake in rwlock unlock•••a reader unlocking the lock need only wake one waiter (necessarily a writer, but a writer unlocking the lock must wake all waiters (necessarily readers). if it only wakes one, the remainder can remain blocked indefinitely, or at least until the first reader unlocks (in which case the whole lock becomes serialized and behaves as a mutex rather than a read lock). Rich Felker1-1/+1