CVS commit: src/lib/librumphijack

2011-02-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 7 11:51:02 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Unbreak the ssp lossage from the default -current build by removing it. I still don't have any idea what the ssp stuff is supposed to do and

CVS commit: src/lib/librumphijack

2011-02-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 7 10:28:18 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: call the non-compat pollts() from inside the library To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/librumphijack/hi

CVS commit: src/lib/librumphijack

2011-02-06 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Feb 6 15:48:20 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: make it possible to specify client connection retry model in RUMPHIJACK_RETRY To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/lib/librumphijack

2011-02-06 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Feb 6 13:05:20 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: be kinder about kqueue() (but paradoxically omit the surprise) To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/librum

CVS commit: src/lib/librumphijack

2011-02-05 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Feb 5 16:59:24 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: uncommit part of previous which wasn't supposed to change To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/lib/librumphija

CVS commit: src/lib/librumphijack

2011-02-05 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Feb 5 16:57:39 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Wrap daemon() since it forks. Otherwise we lose the rumpclient kq descriptor and have multiple processes using the commfd. To generate a d

CVS commit: src/lib/librumphijack

2011-01-27 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 27 18:12:19 UTC 2011 Modified Files: src/lib/librumphijack: Makefile hijack.c Log Message: Use NEEDED for librumpclient instead of loading it manually. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/l

CVS commit: src/lib/librumphijack

2011-01-27 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 27 18:05:16 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Set server reconnection timeout to infinite. There probably need to be some toggle eventually, but for now I'm optimizing the default for my

CVS commit: src/lib/librumphijack

2011-01-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 26 18:48:32 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: make SSP friendly To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/librumphijack/hijack.c Please note that diffs a

CVS commit: src/lib/librumphijack

2011-01-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 25 17:37:01 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: fix compilation on -current To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/librumphijack/hijack.c Please note that

CVS commit: src/lib/librumphijack

2011-01-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 25 12:56:58 UTC 2011 Modified Files: src/lib/librumphijack: Makefile Log Message: enable WARNS=4 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/librumphijack/Makefile Please note that diffs are not p

CVS commit: src/lib/librumphijack

2011-01-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 25 12:53:45 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: the usual fun for WARNS=4 signed, unsigned To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/librumphijack/hijack.c

CVS commit: src/lib/librumphijack

2011-01-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 25 12:21:36 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: dramatic whitespace fix To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/librumphijack/hijack.c Please note that diff

CVS commit: src/lib/librumphijack

2011-01-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 25 12:18:33 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Rewrite to declare most dual-kernel calls with macros. This helps with adding new calls and makes all existing fd-accepting hijacked calls d

CVS commit: src/lib/librumphijack

2011-01-19 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Jan 19 11:27:01 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Do the standard dance for sendto/recvfrom since nspluginwrapper wants to use them. XXX: need to fold the dance sequence into a common routin

CVS commit: src/lib/librumphijack

2011-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 18 23:43:21 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: fix lp64 snafu (hopefully) from pgoyette To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/librumphijack/hijack.c Ple

CVS commit: src/lib/librumphijack

2011-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 18 19:53:24 UTC 2011 Modified Files: src/lib/librumphijack: Makefile Log Message: comment out DBG and NOGCCERROR, use proper LIBDPLIBS form To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/librumphijack

CVS commit: src/lib/librumphijack

2011-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 18 19:41:03 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: * attempt to match libc non-compat names (XXX: needs work) * make shutdown() a dual-stack call * flip the default to use host for PF_UNIX, si

CVS commit: src/lib/librumphijack

2011-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 18 16:00:04 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: pollts: Since fds[] does not go to both kernels, set revents to 0 when splitting the vector. Now any stale revents passed by the caller do n

CVS commit: src/lib/librumphijack

2011-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 18 15:00:22 UTC 2011 Modified Files: src/lib/librumphijack: Makefile Log Message: use -D_REENTRANT (should currently have no effect, but better safe than sorry if someone adds uses of stdio macros) To generate a diff of t

CVS commit: src/lib/librumphijack

2011-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 18 14:51:14 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Don't count sparse elements in the poll vector for host fds. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/librumph

CVS commit: src/lib/librumphijack

2011-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 18 14:45:30 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Fix conversion: there are 1000*1000 nanoseconds in a millisecond, not 1000. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 s

CVS commit: src/lib/librumphijack

2011-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Jan 18 11:04:10 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Fix dup2 mask so that dup2'ing a rump kernel fd to 1 does not cause stderr to be treated as a rump kernel fd as well. Makes e.g. bozohttpd w

CVS commit: src/lib/librumphijack

2011-01-17 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Jan 17 16:30:09 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Use host_close() instead of close() where we know it to be the right interface. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/lib/librumphijack

2011-01-17 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Jan 17 16:27:54 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Adapt to rump syscall changes. The correct rump compat syscall is now automatically picked based on the ABI of the target the library is com

CVS commit: src/lib/librumphijack

2011-01-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Jan 9 19:56:34 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Networked X11 clients have the annoying property that they need to contact the X server. Since most of the useful cases these days are local

CVS commit: src/lib/librumphijack

2011-01-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Jan 9 14:15:07 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Don't depend on malloc(0) returning non-NULL. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/librumphijack/hijack.c P

CVS commit: src/lib/librumphijack

2011-01-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Jan 9 10:28:46 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: dprintf to stderr. stop doing it if stderr_fileno gets dup2()'d To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/librum

CVS commit: src/lib/librumphijack

2011-01-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Jan 8 21:30:24 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Support dual kernel select() by emulating it with pollts(). It would have been much easier if up to and including 5.0 we wouldn't silently c

CVS commit: src/lib/librumphijack

2011-01-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Jan 8 18:11:47 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: support pollts and rewrite poll in terms of pollts To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/librumphijack/hijack

CVS commit: src/lib/librumphijack

2011-01-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Jan 8 14:19:27 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Support fork() and dup2(). This is sufficient to make an unmodified httpd(8) be able to serve pages via a rump networking stack. To genera

CVS commit: src/lib/librumphijack

2011-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Jan 7 19:52:43 UTC 2011 Added Files: src/lib/librumphijack: Makefile hijack.c shlib_version Log Message: Begin work on a syscall hijacking library which can be LD_PRELOADed to convince non-rumped applications to communicate wi

<    1   2