Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix extremely rare but dangerous race condition in robust mutexes | Rich Felker | 2012-08-17 | 1 | -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. |