about summary refs log tree commit diff
path: root/arch/i386/atomic.h
Commit message (Collapse)AuthorAgeFilesLines
* security hardening: ensure suid programs have valid stdin/out/errRich Felker2011-08-231-0/+5
| | | | | | | | | | | this behavior (opening fds 0-2 for a suid program) is explicitly allowed (but not required) by POSIX to protect badly-written suid programs from clobbering files they later open. this commit does add some cost in startup code, but the availability of auxv and the security flag will be useful elsewhere in the future. in particular auxv is needed for static-linked vdso support, which is still waiting to be committed (sorry nik!)
* add word-sized ctz function to atomic.hRich Felker2011-04-271-2/+8
| | | | | | strictly speaking this and a few other ops should be factored into asm.h or the file should just be renamed to asm.h, but whatever. clean it up someday.
* optimize contended normal mutex case; add int compare-and-swap atomicRich Felker2011-03-171-0/+7
|
* move arch-specific internal headers into placeRich Felker2011-02-151-0/+110