Displaying 2 results from an estimated 2 matches for "odatafellow".
Did you mean:
odatafellows
2009 Dec 18
0
[agc@NetBSD.org: CVS commit: src/crypto/external/bsd/openssh/dist]
...ID("$NetBSD: ssh-agent.c,v 1.2 2009/06/07 22:38:47 christos Exp $");
+__RCSID("$NetBSD: ssh-agent.c,v 1.3 2009/12/17 15:55:16 agc Exp $");
#include <sys/types.h>
#include <sys/time.h>
#include <sys/queue.h>
@@ -307,13 +307,13 @@
Buffer msg;
Key *key;
+ odatafellows = datafellows;
datafellows = 0;
blob = buffer_get_string(&e->request, &blen);
data = buffer_get_string(&e->request, &dlen);
flags = buffer_get_int(&e->request);
- odatafellows = datafellows;
if (flags & SSH_AGENT_OLD_SIGNATURE)
datafellows = SSH_BU...
2012 Mar 11
2
[patch] Threading support in ssh-agent
..._barrier(a) do {} while(0)
+
+#endif
+
static void
close_socket(SocketEntry *e)
{
@@ -154,7 +206,7 @@
int i;
for (i = 0; i <=2; i++) {
- TAILQ_INIT(&idtable[i].idlist);
+ TAILQ_INIT(&(idtable[i].idlist));
idtable[i].nentries = 0;
}
}
@@ -355,6 +407,224 @@
datafellows = odatafellows;
}
+#ifdef HAVE_LIBPTHREAD
+
+int
+req_queue_init(struct AuthRequestQueue* q, int inprogress_initial)
+{
+ memset(q, 0, sizeof(struct AuthRequestQueue));
+
+ if (pthread_mutex_init(&(q->lock), 0)) {
+ error("pthread_mutex_init(queue): %s", strerror(errno));
+ return -1;
+ }
+...