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

Add shellcraft.sleep template wrapping SYS_nanosleep #2221

Merged
merged 3 commits into from Jul 9, 2023

Conversation

peace-maker
Copy link
Member

Accepts the time in seconds as a float argument and calls SYS_nanosleep.

This doesn't check for interrupts and doesn't retry with the remaining time. Do we want that?

Fixes #1428

Accepts the time in seconds as a float argument and calls SYS_nanosleep.

Fixes Gallopsled#1428
Co-authored-by: Arusekk <arek_koz@o2.pl>
@Arusekk Arusekk merged commit 8d10485 into Gallopsled:dev Jul 9, 2023
10 of 12 checks passed
@peace-maker peace-maker deleted the shellcraft_sleep branch July 9, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: add shellcraft.sleep
2 participants