DynamoRIO / DynamoRIO/dynamorio

Handle ppoll, pselect, epoll_pwait atomicity for race conditions

Open
#3,240 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.