about summary refs log tree commit diff
path: root/src/thread/x86_64
Commit message (Collapse)AuthorAgeFilesLines
* race condition fix: block all signals before decrementing thread countRich Felker2011-02-191-13/+0
| | | | | | | | | | | | the existence of a (kernelspace) thread must never have observable effects after the thread count is decremented. if signals are not blocked, it could end up handling the signal for rsyscall and contributing towards the count of threads which have changed ids, causing a thread to be missed. this could lead to one thread retaining unwanted privilege level. this change may also address other subtle race conditions in application code that uses signals.
* patch by njk, simplifies thread register initialization for x86_64Rich Felker2011-02-161-4/+0
| | | | | It's not necessary to save any registers on the stack across syscall in x86_64 __set_thread_area. Don't waste cycles or bytes on it.
* patch from njk: make x86_64 __uniclone branchless.Rich Felker2011-02-161-6/+6
|
* Port musl to x86-64. One giant commit!Nicholas J. Kain2011-02-153-0/+61