search for: 281d650

Displaying 1 result from an estimated 1 matches for "281d650".

Did you mean: 281650
2014 May 22
0
[PATCH] openssh - loginrec.c - Non-atomic file operations.
...hen file operations on lastlog file happens. For more details why separate stat and open isn't so safe please take a look at: http://www.akkadia.org/drepper/defprogramming.pdf Have nice day Robin Hack -------------- next part -------------- diff --git a/loginrec.c b/loginrec.c index 4219b9a..281d650 100644 --- a/loginrec.c +++ b/loginrec.c @@ -163,6 +163,7 @@ #include <string.h> #include <time.h> #include <unistd.h> +#include <dirent.h> #include "xmalloc.h" #include "key.h" @@ -1476,41 +1477,65 @@ lastlog_openseek(struct logininfo *li, int *fd...