Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syscalls that wait on fds don't handle signal mask arguments #2898

Open
stevenengler opened this issue Apr 28, 2023 · 0 comments
Open

Syscalls that wait on fds don't handle signal mask arguments #2898

stevenengler opened this issue Apr 28, 2023 · 0 comments
Labels
Type: Bug Error or flaw producing unexpected results

Comments

@stevenengler
Copy link
Contributor

stevenengler commented Apr 28, 2023

The syscalls that wait on fds often have versions that accept a signal mask. For example epoll_pwait, epoll_pwait2, pselect6, and ppoll. We support these syscalls in Shadow, but they don't handle the signal masks. For example epoll_pwait and epoll_pwait2 will return an error if the signal mask is non-null, while pselect6 and ppoll ignore the signal mask arguments completely.

@stevenengler stevenengler added the Type: Bug Error or flaw producing unexpected results label Apr 28, 2023
@stevenengler stevenengler added this to the Improve signal handling milestone Apr 28, 2023
@stevenengler stevenengler changed the title Syscalls that wait on fds don't handle signal masks Syscalls that wait on fds don't handle signal mask arguments Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Error or flaw producing unexpected results
Projects
None yet
Development

No branches or pull requests

1 participant