about summary refs log tree commit diff
path: root/src/thread/vmlock.c
Commit message (Collapse)AuthorAgeFilesLines
* fix extremely rare but dangerous race condition in robust mutexesRich Felker2012-08-171-0/+22
if new shared mappings of files/devices/shared memory can be made between the time a robust mutex is unlocked and its subsequent removal from the pending slot in the robustlist header, the kernel can inadvertently corrupt data in the newly-mapped pages when the process terminates. i am fixing the bug by using the same global vm lock mechanism that was used to fix the race condition with unmapping barriers after pthread_barrier_wait returns.