Skip to content

Ensure timerfd_settime resets expiration count#2279

Merged
sporksmith merged 2 commits intoshadow:mainfrom
sporksmith:timerfd-reset
Jul 14, 2022
Merged

Ensure timerfd_settime resets expiration count#2279
sporksmith merged 2 commits intoshadow:mainfrom
sporksmith:timerfd-reset

Conversation

@sporksmith
Copy link
Copy Markdown
Contributor

@sporksmith sporksmith commented Jul 14, 2022

Definitely a bug; might be the root cause of shadow/tgen#35

Was passing timeout in seconds instead of milliseconds.

Fixing this causes the test to fail in Shadow, exposing a bug.
@github-actions github-actions bot added Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks labels Jul 14, 2022
This fixes a bug where timerfd_settime didn't reset the expiration
count.
@sporksmith sporksmith changed the title Timerfd reset Ensure timerfd_settime resets expiration count Jul 14, 2022
@sporksmith sporksmith marked this pull request as ready for review July 14, 2022 22:15
@sporksmith sporksmith requested a review from stevenengler July 14, 2022 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants