CVS commit: src/lib/librumphijack

2020-05-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed May 27 18:55:36 UTC 2020 Modified Files: src/lib/librumphijack: hijack.c Log Message: Add pathconf and lpathconf (fixes lib/librumphijack/nfs test which uses ls which now uses lpathconf) To generate a diff of this commit:

CVS commit: src/lib/librumphijack

2020-02-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Feb 10 23:21:42 UTC 2020 Modified Files: src/lib/librumphijack: hijack.c Log Message: Change types of DUP2ALIAS and DUP2FDMASK bit masks to unsigned This is for consistency with the DUP2BIT change. To generate a diff of

CVS commit: src/lib/librumphijack

2020-02-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Feb 10 09:10:58 UTC 2020 Modified Files: src/lib/librumphijack: hijack.c Log Message: Avoid unportable bit shift semantics hijack.c:451:52, left shift of 1 by 31 places cannot be represented in type 'int To generate a diff

CVS commit: src/lib/librumphijack

2019-02-17 Thread Christoph Badura
Module Name:src Committed By: bad Date: Sun Feb 17 23:35:50 UTC 2019 Modified Files: src/lib/librumphijack: hijack.c Log Message: Linux doesn't have paccept(). To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127 src/lib/librumphijack/hijack.c Please note

CVS commit: src/lib/librumphijack

2019-02-17 Thread Christoph Badura
Module Name:src Committed By: bad Date: Sun Feb 17 23:33:20 UTC 2019 Modified Files: src/lib/librumphijack: Makefile Log Message: compile hijack.c with -D_INCOMPLETE_XOPEN_C063 so that AT_FDCWD is alwasy defined for rumpkernels. To generate a diff of this commit: cvs

CVS commit: src/lib/librumphijack

2018-12-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Dec 16 14:03:37 UTC 2018 Modified Files: src/lib/librumphijack: hijack.c rumphijack.3 Log Message: Add an option "modctl" to capture modctl(). To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126

CVS commit: src/lib/librumphijack

2018-06-28 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Jun 28 06:20:36 UTC 2018 Modified Files: src/lib/librumphijack: hijack.c Log Message: rumphijack: don't modify a cmsg on just validating it Pointed out by k-goda@IIJ To generate a diff of this commit: cvs rdiff -u -r1.124

CVS commit: src/lib/librumphijack

2017-10-23 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Oct 23 06:52:17 UTC 2017 Modified Files: src/lib/librumphijack: hijack.c Log Message: Provide better debug messages for ioctl To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/lib/librumphijack/hijack.c

CVS commit: src/lib/librumphijack

2017-06-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jun 6 19:48:42 UTC 2017 Modified Files: src/lib/librumphijack: hijack.c Log Message: since ln(1) now uses linkat(2) provide a dumb wrapper. To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123

CVS commit: src/lib/librumphijack

2017-02-16 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Feb 16 08:08:01 UTC 2017 Modified Files: src/lib/librumphijack: hijack.c Log Message: Support paccept for nc To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122 src/lib/librumphijack/hijack.c Please note that

CVS commit: src/lib/librumphijack

2016-12-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 2 20:53:37 UTC 2016 Modified Files: src/lib/librumphijack: hijack.c Log Message: fix test lib/librumphijack/t_sh/runscript (handle F_DUPFD_CLOEXEC that the shell is now using) To generate a diff of this commit: cvs

CVS commit: src/lib/librumphijack

2016-08-11 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 11 09:48:57 UTC 2016 Modified Files: src/lib/librumphijack: hijack.c Log Message: Object to dup2() if target fd is in the range of fd's that librumphijack reserves for rump to use. This is not normally a problem, as most

CVS commit: src/lib/librumphijack

2015-08-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Aug 25 13:50:19 UTC 2015 Modified Files: src/lib/librumphijack: hijack.c Log Message: Remember that dlsym() tends to fail on PowerPC during init (or at least tended), so call rumphijack_dlsym() instead to be safe. To

CVS commit: src/lib/librumphijack

2015-08-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Aug 25 13:45:00 UTC 2015 Modified Files: src/lib/librumphijack: hijack.c Log Message: allow mmap() to be called before init runs To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/lib/librumphijack/hijack.c

CVS commit: src/lib/librumphijack

2015-04-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 11 12:54:41 UTC 2015 Modified Files: src/lib/librumphijack: hijack.c Log Message: Define the expansion of the VFORK macro, not the symbol `VFORK'. Fixes hijacking processes that vfork and exec. Symptom was the child

CVS commit: src/lib/librumphijack

2015-03-04 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Mar 4 23:31:49 UTC 2015 Modified Files: src/lib/librumphijack: hijack.c Log Message: Define a generic ATCALL() and use it to implement utimensat() To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114

CVS commit: src/lib/librumphijack

2015-03-04 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Mar 4 23:42:26 UTC 2015 Modified Files: src/lib/librumphijack: hijack.c Log Message: Make ATCALL() behave for absolute paths too. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115

CVS commit: src/lib/librumphijack

2015-03-04 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 5 00:26:17 UTC 2015 Modified Files: src/lib/librumphijack: hijack.c Log Message: Wrap utimensat() only if present on host fixes buildrump.sh on NetBSD 6.1.5 To generate a diff of this commit: cvs rdiff -u -r1.115

CVS commit: src/lib/librumphijack

2015-03-02 Thread enami tsugutomo
Module Name:src Committed By: enami Date: Tue Mar 3 00:19:07 UTC 2015 Modified Files: src/lib/librumphijack: hijack.c Log Message: Hijack utimensat(2) so that t_vfs test passes after cp(1)/mv(1) are changed to use the system call. Linux also has this system call, but

CVS commit: src/lib/librumphijack

2015-03-02 Thread enami tsugutomo
Module Name:src Committed By: enami Date: Tue Mar 3 01:24:39 UTC 2015 Modified Files: src/lib/librumphijack: hijack.c Log Message: Also hijack futimens(2) so that t_sh test passes. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113

CVS commit: src/lib/librumphijack

2014-08-12 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Aug 12 23:47:09 UTC 2014 Modified Files: src/lib/librumphijack: hijack.c Log Message: In case of no dup2'd fd's, make sure that F_CLOSEM for the rump kernel starts from 0. Fixes rumphijack fdoff test (notably, this bug had

CVS commit: src/lib/librumphijack

2014-07-21 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Mon Jul 21 14:23:43 UTC 2014 Modified Files: src/lib/librumphijack: hijack.c Log Message: Ignore the contents of revents when poll() returns failure. This is one more part to the fix for PR kern/46464. Patch from pooka. To

CVS commit: src/lib/librumphijack

2014-07-19 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Sat Jul 19 14:14:21 UTC 2014 Modified Files: src/lib/librumphijack: hijack.c Log Message: Do not assert that the two threads do not simultanously notify each other, because sometimes they do. Should fix PR kern/46464. OK pooka.

CVS commit: src/lib/librumphijack

2014-01-18 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sat Jan 18 18:37:30 UTC 2014 Modified Files: src/lib/librumphijack: Makefile Log Message: Make sure that _FORTIFY_SOURCE really gets undefined even if USE_SSP is set to yes to fix build problems caused by the recent change to this

CVS commit: src/lib/librumphijack

2014-01-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 10 15:54:29 UTC 2014 Modified Files: src/lib/librumphijack: Makefile Log Message: don't need to include anything before bsd.lib.mk since we don't use any variables To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/librumphijack

2013-07-31 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Jul 31 12:23:25 UTC 2013 Modified Files: src/lib/librumphijack: hijack.c Log Message: remove unnecessary sys/poll.h -- musl whines when it's included To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105

CVS commit: src/lib/librumphijack

2013-07-29 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Jul 29 10:13:21 UTC 2013 Modified Files: src/lib/librumphijack: Makefile Log Message: Override ssp also in case where it doesn't come intrinsically from the compiler. To generate a diff of this commit: cvs rdiff -u -r1.11

CVS commit: src/lib/librumphijack

2013-07-27 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Jul 27 17:37:29 UTC 2013 Modified Files: src/lib/librumphijack: Makefile hijack.c Log Message: Extend #undef _FORTIFY_SOURCE to both files to avoid compiler warning for -O0 and fortify combination. from Alessio Sergi via

CVS commit: src/lib/librumphijack

2013-07-22 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Jul 22 12:11:03 UTC 2013 Modified Files: src/lib/librumphijack: hijack.c Log Message: Support Linuxen where libc ioctl has cmd as int unstead of unsigned long. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103

CVS commit: src/lib/librumphijack

2013-07-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jul 18 22:58:35 UTC 2013 Modified Files: src/lib/librumphijack: hijack.c hijackdlsym.c Log Message: sys/cdefs.h should come from rumpuser_port.h Noticed by Justin Cormack while building against musl libc. To generate a diff

CVS commit: src/lib/librumphijack

2012-10-16 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Oct 16 12:56:10 UTC 2012 Modified Files: src/lib/librumphijack: hijack.c Log Message: * avoid problems if the platform calls readlink() from dlsym() * alias __read_chk() to read() on Linux (technically, though, it should

CVS commit: src/lib/librumphijack

2012-09-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Sep 12 10:35:10 UTC 2012 Modified Files: src/lib/librumphijack: hijack.c Log Message: When emulating poll/select better tell the events of the host kernel apart from those received from the rump kernel. Also handle timeout.

CVS commit: src/lib/librumphijack

2012-09-03 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Sep 3 12:07:42 UTC 2012 Modified Files: src/lib/librumphijack: hijack.c Log Message: one more patch for supporting linux-based networking clients To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98

CVS commit: src/lib/librumphijack

2012-06-29 Thread YAMAMOTO Takashi
Module Name:src Committed By: yamt Date: Fri Jun 29 13:20:25 UTC 2012 Modified Files: src/lib/librumphijack: hijack.c Log Message: implement descriptor passing. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/lib/librumphijack/hijack.c Please note

CVS commit: src/lib/librumphijack

2012-04-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Apr 18 10:37:37 UTC 2012 Modified Files: src/lib/librumphijack: hijack.c Log Message: poll(), pollts() and select() all return int values, but in the hijack emulation of them these get passed as exit values from a pthread as

CVS commit: src/lib/librumphijack

2011-04-21 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Apr 21 08:21:13 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Backout previous, it breaks lots of tests (tests/lib/librumphijack for example). To generate a diff of this commit: cvs rdiff -u -r1.88

CVS commit: src/lib/librumphijack

2011-04-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Apr 12 19:49:48 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Fix SSP builds (Vladimir Kirillov) To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/lib/librumphijack/hijack.c Please

CVS commit: src/lib/librumphijack

2011-03-14 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Mar 14 15:13:26 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Make fdoffset configurable. Also, enforce that host descriptors are smaller than the offset. To generate a diff of this commit: cvs rdiff

CVS commit: src/lib/librumphijack

2011-03-14 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Mar 14 15:15:47 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: fdoff is descriptive enough To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/lib/librumphijack/hijack.c Please note that

CVS commit: src/lib/librumphijack

2011-03-14 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Mar 14 15:21:23 UTC 2011 Modified Files: src/lib/librumphijack: rumphijack.3 Log Message: document fdoff To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/librumphijack/rumphijack.3 Please note that

CVS commit: src/lib/librumphijack

2011-03-10 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Mar 10 08:53:04 UTC 2011 Modified Files: src/lib/librumphijack: rumphijack.3 Log Message: Add serial commas. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/librumphijack/rumphijack.3 Please note that

CVS commit: src/lib/librumphijack

2011-03-10 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 10 09:47:32 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Revert 1.81 and do it in a saner way with an ifdef. Later, when the naming crisis is resolved, we can probably support rump kernel quotas

CVS commit: src/lib/librumphijack

2011-03-10 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 10 23:02:56 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Use rumphijack_dlsym() to figure out where __sysctl() is during init. Otherwise powerpc dlsym() DTWT and returns NULL. (now i have no idea

CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Mar 9 09:17:12 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: g/c unused global To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/lib/librumphijack/hijack.c Please note that diffs are

CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Mar 9 15:03:18 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Add a bunch of process-wide hijack calls. Among other things, it's now possible to use unmodified userspace binaries (rpcbind, mountd,

CVS commit: src/lib/librumphijack

2011-03-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Mar 9 18:06:22 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Fix last entries, make it work again. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/lib/librumphijack/hijack.c

CVS commit: src/lib/librumphijack

2011-03-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Mar 9 18:45:31 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Add quotactl(2) To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/lib/librumphijack/hijack.c Please note that diffs are

CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Mar 9 20:48:57 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Make this compile/work on NetBSD 5 once again. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81

CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Mar 9 23:26:20 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Make getfh() a pathcall instead of a fhcall. while it does pertain to file handles, it still gets passed a path and we can DTRT based on

CVS commit: src/lib/librumphijack

2011-03-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Mar 9 23:40:44 UTC 2011 Modified Files: src/lib/librumphijack: rumphijack.3 Log Message: document vfs and sysctl knobs to RUMPHIJACK To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/lib/librumphijack

2011-03-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Mar 8 20:59:02 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c rumphijack.3 Log Message: Add ``blanket''. It acts like path, except that the prefix does _not_ get removed if the call goes to the rump namespace. So,

CVS commit: src/lib/librumphijack

2011-03-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Mar 8 21:02:22 UTC 2011 Modified Files: src/lib/librumphijack: rumphijack.3 Log Message: maybe typo To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/librumphijack/rumphijack.3 Please note that diffs are

CVS commit: src/lib/librumphijack

2011-03-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Mar 8 21:09:19 UTC 2011 Modified Files: src/lib/librumphijack: rumphijack.3 Log Message: clarify blanket operation a bit more To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/librumphijack/rumphijack.3

CVS commit: src/lib/librumphijack

2011-03-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Mar 8 21:36:01 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Enforce that the path=/rump specifier specifies and actual path prefix and doesn't accept e.g. /rumpdev (only /rump/dev). To generate a

CVS commit: src/lib/librumphijack

2011-03-08 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Mar 8 23:51:23 UTC 2011 Modified Files: src/lib/librumphijack: rumphijack.3 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/librumphijack/rumphijack.3 Please note

CVS commit: src/lib/librumphijack

2011-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Mar 1 10:47:30 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: comment To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/lib/librumphijack/hijack.c Please note that diffs are not

CVS commit: src/lib/librumphijack

2011-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Mar 1 10:54:06 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: another comment To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/lib/librumphijack/hijack.c Please note that diffs are

CVS commit: src/lib/librumphijack

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 19:57:37 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: A simple dup2-enforced affine transformation isn't enough when dealing with dup2() from a rump kernel fd to a host kernel fd. Consider: s1

CVS commit: src/lib/librumphijack

2011-02-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 28 20:39:07 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: make compiler sign-happy To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/lib/librumphijack/hijack.c Please note that

CVS commit: src/lib/librumphijack

2011-02-27 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Feb 27 11:32:13 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: make error messages sensible. from uwe To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/lib/librumphijack/hijack.c

CVS commit: src/lib/librumphijack

2011-02-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 25 18:29:01 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: support mknod. from riz To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/lib/librumphijack/hijack.c Please note that

CVS commit: src/lib/librumphijack

2011-02-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 25 18:36:37 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: whoops, didn't mean to delete futimes in previous. also from riz To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69

CVS commit: src/lib/librumphijack

2011-02-23 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Feb 23 15:23:16 UTC 2011 Modified Files: src/lib/librumphijack: Makefile hijack.c Added Files: src/lib/librumphijack: hijackdlsym.c Log Message: Put the dlsym-from-this-object trampoline into a separate source module

CVS commit: src/lib/librumphijack

2011-02-23 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Feb 23 15:29:21 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: +access(2) To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/lib/librumphijack/hijack.c Please note that diffs are not

CVS commit: src/lib/librumphijack

2011-02-23 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Feb 23 15:44:39 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Return value audit: properly set errno and return -1. Fixes at least cross-kernel mv(1). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/librumphijack

2011-02-23 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Feb 23 18:18:24 UTC 2011 Added Files: src/lib/librumphijack: hijack.h Log Message: duh, remember to cvs add hijack.h too... from pgoyette To generate a diff of this commit: cvs rdiff -u -r0 -r1.1

CVS commit: src/lib/librumphijack

2011-02-21 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 21 12:51:06 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: hijack: 1) {,f,l}chflags (used e.g. by cp(1)) 2) p{read,write}{,v} (used by many) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/librumphijack

2011-02-21 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 21 12:55:21 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Actually, we need both lseek and _lseek so that out-of-libc references go to the right place instead of directly to __lseek. Seeking in

CVS commit: src/lib/librumphijack

2011-02-21 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 21 13:19:35 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: disallow mmap(MAP_FILE) from a rump kernel fd To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/lib/librumphijack/hijack.c

CVS commit: src/lib/librumphijack

2011-02-21 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 21 20:11:57 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: If minfd for F_DUPFD is = hijackoff, assume it means a minimum value in the rump kernel and adjust accordingly. To generate a diff of this

CVS commit: src/lib/librumphijack

2011-02-19 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Feb 19 13:07:53 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: support PF_OROUTE and PF_MPLS where available To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/lib/librumphijack/hijack.c

CVS commit: src/lib/librumphijack

2011-02-19 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Feb 19 13:09:40 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: and now with less crazy whitespace To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/lib/librumphijack/hijack.c Please

CVS commit: src/lib/librumphijack

2011-02-19 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Feb 19 13:10:35 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: hijack __getcwd() To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/lib/librumphijack/hijack.c Please note that diffs are

CVS commit: src/lib/librumphijack

2011-02-19 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Feb 19 19:17:34 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: fix symlink pathname examination (rationale-to-joerg: so that it works) To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/lib/librumphijack

2011-02-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 18 11:41:33 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Use the env variable RUMPHIJACK to specify what facilities should be hijacked. If it's not specified, the default is

CVS commit: src/lib/librumphijack

2011-02-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 18 12:22:46 UTC 2011 Modified Files: src/lib/librumphijack: rumphijack.3 Log Message: Document .Ev RUMPHIJACK To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/librumphijack/rumphijack.3 Please note

CVS commit: src/lib/librumphijack

2011-02-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 18 13:04:52 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: give the signmonkey a banana To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/lib/librumphijack/hijack.c Please note

CVS commit: src/lib/librumphijack

2011-02-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 18 14:25:04 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: uhm, put PF_LOCAL on the socketlist To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/lib/librumphijack/hijack.c Please

CVS commit: src/lib/librumphijack

2011-02-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 18 14:33:11 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: fix rename To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/lib/librumphijack/hijack.c Please note that diffs are not

CVS commit: src/lib/librumphijack

2011-02-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 18 14:44:46 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: block cross-kernel rename in the other direction also To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/lib/librumphijack

2011-02-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 18 19:27:07 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: hijack libc-internal name for lseek so that libc-internal callers go to the right kernel too. To generate a diff of this commit: cvs rdiff

CVS commit: src/lib/librumphijack

2011-02-17 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Feb 17 12:23:58 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Hijack pathname-based system calls. Now all paths starting with /rump are hijacked to go to the rump server. So you can e.g. start a

CVS commit: src/lib/librumphijack

2011-02-17 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Feb 17 15:20:10 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: In case dup2(n, n+FDOFF) is done, the caller thinks there are two distinct file descriptors, but the rump kernel thinks they are both the

CVS commit: src/lib/librumphijack

2011-02-17 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Feb 17 17:18:08 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Support mount/unmount too. So, things are now generally at a stage where you can mount a file system with a userspace server *without* it

CVS commit: src/lib/librumphijack

2011-02-16 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Feb 16 19:46:42 UTC 2011 Modified Files: src/lib/librumphijack: rumphijack.3 Log Message: document RUMPHIJACK_RETRYCONNECT To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/librumphijack/rumphijack.3

CVS commit: src/lib/librumphijack

2011-02-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Feb 15 13:59:28 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Properly implement fcntl commands: F_DUPFD, F_CLOSEM, F_MAXFD To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/lib/librumphijack

2011-02-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Feb 15 14:01:52 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: dup() is now implemented using fcntl() To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/lib/librumphijack/hijack.c

CVS commit: src/lib/librumphijack

2011-02-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 11 12:46:41 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: ssh mostly ignores the return value of select(), so if the timeout expired it would assume that all input set descriptors had activity. In

CVS commit: src/lib/librumphijack

2011-02-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Feb 11 14:02:13 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: play the important typecast game To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/lib/librumphijack/hijack.c Please note

CVS commit: src/lib/librumphijack

2011-02-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Feb 8 12:20:11 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: add std dprint to fdcall To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/librumphijack/hijack.c Please note that

CVS commit: src/lib/librumphijack

2011-02-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Feb 8 14:45:35 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Make sure we can do host kevent since the -current (and recent nb5) libc resolver uses it. Error out in case of rump fd kevent (TODO).

CVS commit: src/lib/librumphijack

2011-02-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Feb 8 19:12:54 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Fix pasto, use GETSYSCALLS() where possible To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/lib/librumphijack/hijack.c

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

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

CVS commit: src/lib/librumphijack

2011-02-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 7 12:23:05 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: duh, _sys_read, not read. STAY FIXED, DAMNIT! To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/lib/librumphijack

2011-02-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Feb 7 19:34:39 UTC 2011 Modified Files: src/lib/librumphijack: hijack.c Log Message: Force gcc to generate a stack frame for the call to dlsym(RTLD_NEXT). Without this hack at least amd64 -O2 just used jmp and The Wrong Thing

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

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

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

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

  1   2   >