Displaying 20 results from an estimated 1000 matches similar to: "ssh shell spawn"
2012 Sep 25
1
[PATCH] Fix <sys/time.h> for Linux 3.5.1
With Linux 3.5.1, 'make test' fails with:
usr/klibc/tests/select.c: In function ?main?:
usr/klibc/tests/select.c:31:14: error: ?FD_SETSIZE? undeclared (first use in this function)
usr/klibc/tests/select.c:31:14: note: each undeclared identifier is reported only once for each function it appears in
This is due to Linux commit 8ded2bbc1845e19c771eb55209aab166ef011243.
Handle it by
2012 Oct 01
0
[klibc:master] include: [sys/time.h] fix for Linux 3.5.1
Commit-ID: 0dbcedacde2847e254373fce6f80c63e003a69ca
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=0dbcedacde2847e254373fce6f80c63e003a69ca
Author: Colin Watson <cjwatson at ubuntu.com>
AuthorDate: Tue, 25 Sep 2012 12:31:16 +0100
Committer: maximilian attems <max at stro.at>
CommitDate: Mon, 1 Oct 2012 15:04:49 +0200
[klibc] include: [sys/time.h] fix for
2008 Jun 06
0
[PATCH] stubdom: permit compilation without lwip
stubdom: permit compilation without lwip
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
diff -r b320cfe1f10f extras/mini-os/lib/sys.c
--- a/extras/mini-os/lib/sys.c Thu Jun 05 13:04:07 2008 +0100
+++ b/extras/mini-os/lib/sys.c Fri Jun 06 11:28:09 2008 +0100
@@ -43,7 +43,9 @@
#include <stdlib.h>
#include <math.h>
+#ifdef HAVE_LWIP
#include
2013 Feb 19
13
[PATCH] mini-os: implement poll(2)
It is just a wrapper around select(2).
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
extras/mini-os/include/posix/poll.h | 1 +
extras/mini-os/lib/sys.c | 90 ++++++++++++++++++++++++++++++++++-
2 files changed, 90 insertions(+), 1 deletion(-)
create mode 100644 extras/mini-os/include/posix/poll.h
diff --git a/extras/mini-os/include/posix/poll.h
2006 Sep 06
7
[RFC PATCH] allow connecting to xenconsole from remote hosts
The attached patch makes xenconsole send and receive console messages
over a remote connection, instead of via stdin/stdout - if given the
--remote switch. It is useful for proxy''ing real console message or
other protocol messages (such as gdb) between dom0 and a remote
host. We''re currently using it for proxying gdb between gdbstub in a
partition that talks gdb over the console
2020 Aug 18
0
[PATCH nbdkit 7/9] server: Add hand-written replacement for poll for Windows.
---
configure.ac | 1 +
common/replacements/Makefile.am | 2 +
common/replacements/poll.h | 60 ++++++++++++++++++
server/public.c | 2 +-
server/sockets.c | 2 +-
common/replacements/poll.c | 106 ++++++++++++++++++++++++++++++++
6 files changed, 171 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index
2004 May 29
1
[patch] Filename conversion
Hi,
One feature missing from rsync, and requested on this list before, is
on-the-fly conversion of filename character encoding. For example, I
often need to sync files having Hebrew filenames from a UTF-8 system
(Linux) to an ISO8859-8 system (Cygwin on Windows 2000 using the
non-Unicode Win32 interface). Other circumstances surely abound.
Attached is a patch against rsync 2.6.2 that adds an
2004 Aug 06
2
icecast + irix
well i fixed it a bit, if you add
#include <sys/select.h>
it gets rid of:
connection.c:192: `fd_set' undeclared (first use in this function)
connection.c:192: (Each undeclared identifier is reported only once
connection.c:192: for each function it appears in.)
connection.c:192: parse error before "rfds"
connection.c:193: storage size of `tv' isn't known
2020 Feb 26
0
Re: [PATCH] lib: command: switch from select() to poll()
On Wed, Feb 26, 2020 at 02:39:04PM +0100, Pino Toscano wrote:
> select() has a maximum value for the FDs it can monitor, and since
> the libguestfs library can be used in other applications, this limit
> may be hit by users in case lots of FDs are opened.
>
> As solution, switch to poll(): it has a slightly better interface to
> check what changed and for which FD, and it does
2012 Dec 13
2
[PATCH 1/2] daemon: NFC Use symbolic names in commandrvf
Improve readability of commandrvf() by replacing bare int values for
file descriptors with their symbolic names STD{IN,OUT,ERR}_FILENO.
Also add PIPE_READ and PIPE_WRITE for referencing relevant ends of a pipe.
---
daemon/guestfsd.c | 79 +++++++++++++++++++++++++++++--------------------------
1 file changed, 42 insertions(+), 37 deletions(-)
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
2004 Aug 06
2
icecast + irix
Yeah, alright, it configures fine, and here's what happens when i make.
>make
.....yadayadayada..just some warnings here.....
(here is where it dies)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall
-c connection.c
connection.c: In function `get_connection':
connection.c:191: `fd_set' undeclared (first use in this function)
connection.c:191: (Each undeclared
2020 Feb 26
2
[PATCH] lib: command: switch from select() to poll()
select() has a maximum value for the FDs it can monitor, and since
the libguestfs library can be used in other applications, this limit
may be hit by users in case lots of FDs are opened.
As solution, switch to poll(): it has a slightly better interface to
check what changed and for which FD, and it does not have a limit in the
value of the FDs monitored.
poll() is supported on the platforms we
2004 Aug 06
0
icecast + irix
> well i fixed it a bit, if you add
>
> #include <sys/select.h>
>
> it gets rid of:
>
> connection.c:192: `fd_set' undeclared (first use in this function)
> connection.c:192: (Each undeclared identifier is reported only once
> connection.c:192: for each function it appears in.)
> connection.c:192: parse error before "rfds"
>
2015 Nov 05
0
Is it possible to retrieve Non blocking socket writeable status of a unix channel device ?
Hi,
As using a blocking socket for a virtio device channel leads to be blocked if nobody has opened the corresponding /dev/virtio-ports within the Guest , I tried to use a non-blocking socket and
to check whether the socket is writeable via FD_ISSET().
I'm wondering why a virtio device channel is always seen as writeable by the Host even if nobody has opened the corresponding
2003 Mar 05
0
"rsync --daemon" and IPv4/v6 dual stack
on systems that has separate IPv4/v6 socket layer (i.e. IPv4 packet
does not get routed to AF_INET6 socket) rsync --daemon would accept
IPv6 sessions only. open_socket_in() tries to deal with the
situation, but it was not enough. here's the patch.
(it is required on all *BSDs to accept both IPv4 and IPv6 connections
with --daemon mode)
itojun
---
? configure.lineno
? lib/dummy
2020 Feb 26
1
Re: [PATCH] lib: command: switch from select() to poll()
On Wednesday, 26 February 2020 15:08:24 CET Daniel P. Berrangé wrote:
> On Wed, Feb 26, 2020 at 02:39:04PM +0100, Pino Toscano wrote:
> > select() has a maximum value for the FDs it can monitor, and since
> > the libguestfs library can be used in other applications, this limit
> > may be hit by users in case lots of FDs are opened.
> >
> > As solution, switch to
2004 Aug 06
3
icecast + irix
nah, i had <sys/time.h> already
grr. what could it be
> > well i fixed it a bit, if you add
> >
> > #include <sys/select.h>
> >
> > it gets rid of:
> >
> > connection.c:192: `fd_set' undeclared (first use in this function)
> > connection.c:192: (Each undeclared identifier is reported only once
> > connection.c:192: for each
2013 Jan 03
20
[PATCH] Switch to poll in xenconsoled's io loop.
The original implementation utilies select(). In Linux select() typically
supports up to 1024 file descriptors. This can be a problem when user tries to
boot up many guests. Switching to poll() has minimum impact on existing code
and has better scalibility.
Up to 8192 file descriptors are supported in the current implementation.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
2001 Aug 02
0
patch: properly zeroing fd_set in clientloop
Hello all,
This is a problem and patch reported to Red Hat Bugzilla by
Jonathan Kamens <jik at kamens.brookline.ma.us>. I'm just acting as a relay
:-)
jik has experienced some weird crashes relating to window size changes or
some similar activity. These are rather hard to trace.
Problem was fixed by patching clientloop, where fd_set structures appear
to be improperly zeroed (bytes vs
2018 Feb 23
6
RFC 8305 Happy Eyeballs in OpenSSH
Hello,
I use hosts that are dual stack configured (IPv4 and IPv6) and it
happens that connectivity through one or the other is broken and
timeouts. In these case connection to the SSH server can take quite some
time as ssh waits for the first address to timeout before trying the
next.
So I gave a stab at implementing RFC 8305. This patch implements part of
it in sshconnect.c.
* It does not do