mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:57:35 +00:00
LibC: Add nanosleep() wrapper around clock_nanosleep(CLOCK_REALTIME)
Gets rid of one dropbear patch. :^)
This commit is contained in:
parent
57b6f51137
commit
c88ea2f54a
3 changed files with 6 additions and 11 deletions
|
@ -1,11 +0,0 @@
|
|||
Hinders security by a little, but I guess we'll just have nanosleep soon enough.
|
||||
--- a/svr-auth.c.orig
|
||||
+++ b/svr-auth.c
|
||||
@@ -424,7 +424,6 @@
|
||||
if (!fuzz.fuzzing)
|
||||
#endif
|
||||
{
|
||||
- while (nanosleep(&delay, &delay) == -1 && errno == EINTR) { /* Go back to sleep */ }
|
||||
}
|
||||
|
||||
ses.authstate.failcount++;
|
Loading…
Add table
Add a link
Reference in a new issue