CVS commit: src/lib/librumpclient

2017-05-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 11 18:44:50 UTC 2017

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
make it the same as rump.h


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2017-05-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 11 17:47:22 UTC 2017

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
Don't depend on stars in order to define things.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2016-09-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep  6 07:12:48 UTC 2016

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Fix DPRINTF format


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2015-01-17 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Sat Jan 17 19:34:50 UTC 2015

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Modern Android SDK does not need special cases


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2014-12-13 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Sat Dec 13 17:18:55 UTC 2014

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Always use kqueue for BSDs in librumpclient

Tested now on the others


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2014-12-07 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Mon Dec  8 01:10:07 UTC 2014

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Use kqueue in librumpclient for FreeBSD too


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2014-04-25 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Apr 25 12:20:12 UTC 2014

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
pretend to handle the poll return value for -Wunused-but-set


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2014-04-03 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Apr  3 17:11:35 UTC 2014

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Make sure holyfd is -1 when rumpclient_init() is called for
the first time after fork to prevent fd 0 from being closed.

should fix test failures, thanks to martin for the prod


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2014-04-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Apr  2 15:04:19 UTC 2014

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
fix build on NetBSD.  also, prevent fd leak in error path


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2014-04-02 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Apr  2 14:48:04 UTC 2014

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
On Linux, poll signalfd() when waiting for a kernel response.
This allows the same type of race-free handling of signals as kqueue()
allows on NetBSD.  One of the noticeable things is that you can now
interrupt rumprun ping mid-interval on Linux.

per suggestion from Justin Cormack


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2014-02-25 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Feb 26 02:03:40 UTC 2014

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Use MAP_ANON|MAP_PRIVATE for anonymous memory mapping,
e.g. Linux gets upset if just MAP_ANON.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2013-09-10 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Sep 10 17:39:10 UTC 2013

Modified Files:
src/lib/librumpclient: Makefile

Log Message:
-I../librumpuser is still required for sp_common.c


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/librumpclient/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2013-03-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Mar  8 08:30:44 UTC 2013

Modified Files:
src/lib/librumpclient: rumpclient.3

Log Message:
Standardize Lb argument.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/librumpclient/rumpclient.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2013-01-20 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Jan 20 15:23:21 UTC 2013

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
Provide register_t compat on solarisa.
(would be nice to handle register_t compat internally instead, but the
interface was already exposed in a release)


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 22:16:59 UTC 2013

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
fix the extern "C" stuff


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 20:47:44 UTC 2013

Modified Files:
src/lib/librumpclient: rumpclient.c rumpclient.h

Log Message:
Solaris 10 fixes


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/lib/librumpclient/rumpclient.c
cvs rdiff -u -r1.12 -r1.13 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2013-01-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 17 16:29:44 UTC 2013

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
If the host doesn't support RTLD_NEXT, don't play the dynamic linking game.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2012-09-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Sep 12 12:38:17 UTC 2012

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
attempt to inform user of what the error means


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2012-08-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Aug 29 10:38:53 UTC 2012

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Remove unused variable. Approved by pooka.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2012-08-03 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Aug  3 14:52:31 UTC 2012

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
force-terminate commname


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-12-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Dec 16 23:19:28 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
Request always_inline for rumpclient__dofork, it won't work correctly
for vfork otherwise. Also give it the returns twice attribute to ensure
that the stack tainting is done recursively.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-12-12 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Dec 12 16:53:53 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Mark rumphijack_dlsym explicitly as weak to prevent optimisations based
on pointer (non-)identity of it and rumpclient__dlsym.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-12-12 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Dec 12 15:21:33 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Don't use K&R syntax


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-04-30 Thread Alexander Nasonov
Module Name:src
Committed By:   alnsn
Date:   Sat Apr 30 12:25:05 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Save/restore errno in error path in dupgood. Check that n>0 before
accessing banner[n-1].

Approved a while ago by pooka@


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-03-15 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar 15 09:35:05 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
don't spam connection errors to stderr by default


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-03-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Mar  9 15:09:21 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
* use _exit() instead of exit() in retryconn=die: atexit() handlers
  may hang if the server is dead
* consistent use of data


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-03-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar  8 19:11:27 UTC 2011

Modified Files:
src/lib/librumpclient: Makefile

Log Message:
need -I${.OBJDIR} now


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librumpclient/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-03-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar  8 18:30:24 UTC 2011

Modified Files:
src/lib/librumpclient: Makefile

Log Message:
create srcsys symlink


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/librumpclient/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-03-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar  8 18:28:02 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
and for my next trick, i'm going to spell ARGSUSED correctly


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-03-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar  8 18:25:16 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
lint love


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-03-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Mar  8 15:55:12 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Since we ~never have a frame waiting on the initial call to waitresp,
call kevent before readframe.  Doesn't really affect performance,
but makes ktraces shorter ;)


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-27 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Feb 27 12:58:29 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Take reasonable precautions against init in a parent process
which did a rump-transparent host-only fork().


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-25 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Feb 25 15:12:06 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
fix __RCSID


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-24 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Feb 24 14:22:04 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Fix static fallback path.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-24 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Feb 24 09:52:35 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Die with a sensible error message if a symbol cannot be found.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-22 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Tue Feb 22 17:32:49 UTC 2011

Modified Files:
src/lib/librumpclient: Makefile

Log Message:
Remove "NOLINT" setting that was apparently committed by accident and
breaks the build.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librumpclient/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Feb 22 14:02:55 UTC 2011

Modified Files:
src/lib/librumpclient: Makefile

Log Message:
Disable string aliasing for rump_syscalls.c.  I can't figure out
how to otherwise make the kernel's register_t coreography to work
with the return value here in a MI fashion.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpclient/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-18 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Feb 18 16:22:10 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
I think I skipped the class where they taught that multiplication
is done before addition...


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-17 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Feb 17 17:03:18 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.3

Log Message:
Use more appropriate markup. Fix a typo.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpclient/rumpclient.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-16 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Feb 16 23:45:40 UTC 2011

Modified Files:
src/lib/librumpclient: Makefile
Added Files:
src/lib/librumpclient: rumpclient.3

Log Message:
add some excuse of a manpage for librumpclient


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/librumpclient/Makefile
cvs rdiff -u -r0 -r1.1 src/lib/librumpclient/rumpclient.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-16 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Wed Feb 16 22:35:41 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
Include "sys/null.h" to get the definition of NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-16 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Feb 16 19:58:01 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
fix signature of rumpclient_fork()


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-09 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Feb  9 14:29:58 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
The following happens when sending mail with mutt via a rump
TCP/IP stack:

* mutt prepares to exec the smtp client: it forks and closes all
  file descriptors
* when the next networking syscall is done, rumpclient detects that
  the communication fd returned EBADF and does a reconnect,
  gets descriptor 0 for the socket and descriptor 1 for kqueue
* mutt opens the mail file and implicitly assumes it'll get 0-2,
  but in fact gets 2-4
* mutt execs the smtp agent which tries to read the mail from
  stdin (rumpclient communication socket) and fails

Even if mutt correctly did dup2() things would go south when trying
to communicate with the kernel server the next time, since rumpclient
would actually be talking with some mail body instead (well, it
could work, but in that case you'd need to write *really* weird
mails ;).

Hence, prevent rumpclient from using the special fd's 0-2 for its
purposes.

Should fix mutt problem reported by Alexander Nasonov.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Feb  7 15:25:41 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
malloc/free aren't async-signal-safe, so avoid calling them when
signals aren't blocked.

this bug made tests/rump/rumpkern/t_sp:sigsafe rarely deadlock


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Feb  7 14:49:53 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
make sure we don't use "fullset" before we init it


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Feb  7 14:49:32 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.h

Log Message:
types.h for time_t


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-06 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Feb  6 15:43:20 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c rumpclient.h

Log Message:
Add another connection retry model which simply does exit(1) if
the connection is severed.
(mostly for tests so that everything can be hooked to rump_server's exit)


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/librumpclient/rumpclient.c
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-02-06 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Feb  6 15:41:38 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Make sure to close parent's server communication socket after fork.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-01-27 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Jan 27 18:04:05 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c rumpclient.h

Log Message:
Allow to set a timeout for how long the client will attempt to
reconnect in case the connection to the server is lost.  Default
to exactly one reattempt.  This makes sense and additionally fixes
the dev/raidframe/smalldisk test which currently causes a server
panic when a certain raidctl command is run (without this fix the
test would timeout since the client kept attempting to reconnect).


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/librumpclient/rumpclient.c
cvs rdiff -u -r1.2 -r1.3 src/lib/librumpclient/rumpclient.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-01-26 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 26 14:42:41 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
plug fd leak in reconnect code


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2011-01-21 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Jan 21 10:43:33 UTC 2011

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Forgot to commit this a few days ago: need to make sure we get the
right kqueue/kevent now that rumphijack hijacks them.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2010-11-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Nov 30 22:30:44 UTC 2010

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
lintsquelch


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2010-11-30 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Tue Nov 30 14:24:40 UTC 2010

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
Change RUMP_SP_CLIENT to RUMP_SERVER.  The former was, in addition
to being annoying to write, slightly misguiding, since it contains
the server url.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2010-11-24 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Nov 24 17:03:39 UTC 2010

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
update locking proto, use unputwait


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/librumpclient

2010-11-05 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Nov  5 13:50:48 UTC 2010

Modified Files:
src/lib/librumpclient: rumpclient.c

Log Message:
use -1/errno for failure: it's much more convenient for the users


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.