Displaying 20 results from an estimated 700 matches similar to: "[klibc:master] include: [sys/time.h] fix for Linux 3.5.1"
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
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
Commit-ID: 8b44cc180f664532821211e8261534b0c9e6c01c
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8b44cc180f664532821211e8261534b0c9e6c01c
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 14 Jan 2023 02:15:10 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sun, 15 Jan 2023 21:28:18 +0100
[klibc] time: Use clock_* system
2023 Jan 14
1
[klibc:time64] time: Use 64-bit time types on all architectures
Commit-ID: df7b02bd5c9af14c6efbe39ee4c313e368dfe967
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=df7b02bd5c9af14c6efbe39ee4c313e368dfe967
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 14 Jan 2023 00:17:45 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 14 Jan 2023 18:10:12 +0100
[klibc] time: Use 64-bit time
2020 Aug 27
0
[klibc:master] sparc: Set sa_restorer for signals and disable executable stack
Commit-ID: 05350b72cace18417c1ba00c4796a5e19ebb908b
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=05350b72cace18417c1ba00c4796a5e19ebb908b
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 13:56:47 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Thu, 27 Aug 2020 15:00:33 +0100
[klibc] sparc: Set sa_restorer for
2020 Aug 27
0
[klibc:master] s390: Set sa_restorer for signals and disable executable stack
Commit-ID: c341c978e3024b9c575fac94012fc5b6f5679334
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=c341c978e3024b9c575fac94012fc5b6f5679334
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 03:38:34 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Thu, 27 Aug 2020 15:00:33 +0100
[klibc] s390: Set sa_restorer for
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
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
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
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
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
2016 Jan 21
0
[PATCH v3 2/6] daemon: Split out command() functions and CLEANUP_* macros into separate files.
Allows more sharing between the daemon and the inspection program.
---
daemon/Makefile.am | 2 +
daemon/cleanups.c | 80 ++++++++++
daemon/cleanups.h | 47 ++++++
daemon/command.c | 436 +++++++++++++++++++++++++++++++++++++++++++++++++++++
daemon/command.h | 41 +++++
daemon/daemon.h | 47 +-----
daemon/guestfsd.c | 392 -----------------------------------------------
po/POTFILES
2012 Mar 12
0
ssh shell spawn
Hello,
I'm trying to add a feature to the ssh daemon.
It consists in log all the buffer session between client and server
side into a log file.
I've coded a shell that works with pipes, it opens 2 fds for each std
(you can see code at the end) and so the communication can be
transferred to the client end point, the server side and to the log
file.
My goal is to patch it into ssh, but for
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
2007 Dec 06
0
Too many open files leads to timeout exceptions in Mechanize/Net::HTTP?
I''m experiencing an issue where my get/submit calls to the Mechanize
agent are leading to timeout exceptions when the ruby script has too
many open file descriptors ( > 1000). However, I''m not seeing
anything about an overstep violation sent anywhere to syslog, and no
error message sent to stdout. The process has the large amount of
open files because it''s
2004 Aug 23
1
[PATCH] pass struct io * to io_loop_handle_add()/io_loop_handle_remove()
Hello,
currently I'm working on new ioloop handler which uses epoll(4) API
introduced in Linux kernel 2.6. In this API each fd added to fd set
by epoll_ctl system call can be accompanied with user supplied data
(integer or void pointer). epoll_wait syscall reports arrived events
as an array of structures containing event mask and user data.
Attached patch replaces fd and condition parameters
2005 Mar 02
0
[PATCH] sys/times.h
This patch addresses three issues:
- need extern.h because of __extern.
- need sys/types for clock_t
- two functions are also included in <sys/time.h>;
my (debian) manual pages confirm that's the canonical location.
Regards,
Erik
diff -urN klibc-0.202-pristine/include/sys/times.h klibc-0.202/include/sys/times.h
--- klibc-0.202-pristine/include/sys/times.h 2002-08-06
2016 Jan 06
0
[klibc:master] Remove obsolete getpt() function
Commit-ID: 7671eacc1ad3b8582dce1ec6f1e295c517f514ff
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=7671eacc1ad3b8582dce1ec6f1e295c517f514ff
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 5 Jan 2016 18:01:55 -0800
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 18:01:55 -0800
[klibc] Remove obsolete getpt()
2016 Jan 27
0
[klibc:master] Make posix_openpt() an inline
Commit-ID: b4babe7a3618705a283fc9458de19aba1d12401d
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=b4babe7a3618705a283fc9458de19aba1d12401d
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Tue, 26 Jan 2016 15:58:49 -0800
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Tue, 26 Jan 2016 15:58:49 -0800
[klibc] Make posix_openpt() an inline
This
2004 Jan 27
4
Re: udevinfo output broken
On Tue, Jan 27, 2004 at 10:54:31PM +0100, Olaf Hering wrote:
> On Tue, Jan 27, Olaf Hering wrote:
>
> > On Tue, Jan 27, Kay Sievers wrote:
> >
> > > On Tue, Jan 27, 2004 at 09:06:51PM +0100, Olaf Hering wrote:
> > > > udevinfo writes to fd 0, all the output is lost somehow.
> > > >
> > > > olaf@ibook:~> i="`/sbin/udevinfo