search for: fullread

Displaying 2 results from an estimated 2 matches for "fullread".

Did you mean: full_read
2007 Oct 18
0
[PATCH] Use a control socket directory to restrict access
...trolsocketname, strerror(errno)); + close(oldcwd_fd); return 1; } + if(oldcwd_fd >= 0) { + if(fchdir(oldcwd_fd) < 0) { + fprintf(stderr, _("Cannot restore working directory: %s\n"), strerror(errno)); + close(oldcwd_fd); + return 1; + } + close(oldcwd_fd); + } + if(fullread(fd, &greeting, sizeof greeting) == -1) { fprintf(stderr, _("Cannot read greeting from control socket: %s\n"), strerror(errno)); @@ -525,16 +574,8 @@ int main(int argc, char *argv[], char *envp[]) { return 1; } - struct ucred cred; - socklen_t credlen = sizeof cred; - -...
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a spam filter; I'll link to patches instead of attaching them.) Here are the tincctl patches I've been working on. They apply to http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit them once the crypto stuff's fixed. Since they're basically done, I'm emailing them now for review and in case