DynamoRIO / DynamoRIO/dynamorio
Handle ppoll, pselect, epoll_pwait atomicity for race conditions
Open
Bug-Hang
OpSys-UNIX
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
The above system calls behave as if this code was atomic in the kernel
```
sigprocmask(.., &new_mask, &old_mask);
select();
sigprocmask(.., &old_mask, null);
```
DR (patch TB committed shortly) will emulate the system calls in terms of switching out the sigmasks, but will not prevent race conditions as the system call intends.
Contributor guide
Assessment
This issue has not been assessed yet.