#
62d43ec6 |
| 12-Apr-2011 |
christos <christos@NetBSD.org> |
Fix SSP builds (Vladimir Kirillov)
|
#
69ccd31e |
| 14-Mar-2011 |
pooka <pooka@NetBSD.org> |
fdoff is descriptive enough
|
#
dbe4a9cb |
| 14-Mar-2011 |
pooka <pooka@NetBSD.org> |
Make fdoffset configurable. Also, enforce that host descriptors are smaller than the offset.
|
#
60d0e3d4 |
| 10-Mar-2011 |
pooka <pooka@NetBSD.org> |
Use rumphijack_dlsym() to figure out where __sysctl() is during init. Otherwise powerpc dlsym() DTWT and returns NULL. (now i have no idea why dlsym() it works from rcinit(), but i'll opt to not car
Use rumphijack_dlsym() to figure out where __sysctl() is during init. Otherwise powerpc dlsym() DTWT and returns NULL. (now i have no idea why dlsym() it works from rcinit(), but i'll opt to not care)
Hah, only took 15min to debug that crap this time around. I'm quickly approaching zero-time with it.
show more ...
|
#
06c5b7a7 |
| 10-Mar-2011 |
pooka <pooka@NetBSD.org> |
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 from nb5 also.
|
#
37abbe07 |
| 09-Mar-2011 |
pooka <pooka@NetBSD.org> |
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 that.
|
#
d7e66033 |
| 09-Mar-2011 |
pooka <pooka@NetBSD.org> |
Make this compile/work on NetBSD 5 once again.
|
#
31d739e1 |
| 09-Mar-2011 |
bouyer <bouyer@NetBSD.org> |
Add quotactl(2)
|
#
dbe30b81 |
| 09-Mar-2011 |
bouyer <bouyer@NetBSD.org> |
Fix last entries, make it work again.
|
#
f5ad4998 |
| 09-Mar-2011 |
pooka <pooka@NetBSD.org> |
Add a bunch of process-wide hijack calls. Among other things, it's now possible to use unmodified userspace binaries (rpcbind, mountd, nfsd) to start a rump nfs service and mount file systems from i
Add a bunch of process-wide hijack calls. Among other things, it's now possible to use unmodified userspace binaries (rpcbind, mountd, nfsd) to start a rump nfs service and mount file systems from it.
pain-rustique:42:~> mount rumpfs on / type rumpfs (local) 10.1.1.1:/export on /mnt type nfs
show more ...
|
#
81eeafdc |
| 09-Mar-2011 |
pooka <pooka@NetBSD.org> |
g/c unused global
|
#
424ccb08 |
| 08-Mar-2011 |
pooka <pooka@NetBSD.org> |
Enforce that the path=/rump specifier specifies and actual path prefix and doesn't accept e.g. /rumpdev (only /rump/dev).
|
#
c9e516c5 |
| 08-Mar-2011 |
pooka <pooka@NetBSD.org> |
Add ``blanket''. It acts like path, except that the prefix does _not_ get removed if the call goes to the rump namespace.
So, now it's possible to use e.g. tcpdump (and most other utilities which h
Add ``blanket''. It acts like path, except that the prefix does _not_ get removed if the call goes to the rump namespace.
So, now it's possible to use e.g. tcpdump (and most other utilities which hardcore a /dev pathname) on a rump kernel:
golem> setenv RUMPHIJACK blanket=/dev/bpf golem> tcpdump -n -i virt0 tcpdump: WARNING: SIOCGIFADDR: virt0: Device not configured tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on virt0, link-type EN10MB (Ethernet), capture size 96 bytes 21:55:38.925596 IP 192.168.2.101 > 204.152.190.12: ICMP echo request, id 47811, seq 0, length 64 21:55:39.095596 IP 204.152.190.12 > 192.168.2.101: ICMP echo reply, id 47811, seq 0, length 64
(if you additionally set socket=all in RUMPHIJACK, tcpdump doesn't whine about the "not configured" interface)
show more ...
|
#
f48e580e |
| 01-Mar-2011 |
pooka <pooka@NetBSD.org> |
another comment
|
#
9ed32723 |
| 01-Mar-2011 |
pooka <pooka@NetBSD.org> |
comment
|
#
02575ca2 |
| 28-Feb-2011 |
pooka <pooka@NetBSD.org> |
make compiler sign-happy
|
#
10dc3032 |
| 28-Feb-2011 |
pooka <pooka@NetBSD.org> |
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 = socket(); s2 = socket(); dup2(s2, 0);
Instead, maintain
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 = socket(); s2 = socket(); dup2(s2, 0);
Instead, maintain a real mapping table (and get on my knees and pray i don't have to touch this hair-splitting code ever again).
Apparently bourne shell scripts from a rump kernel fs work now (sh script.sh; ./script.sh doesn't work for obvious "IT'S THE WRONG FS NAMESPACE" reasons). No test regressions either, so I'm a happy camper.
show more ...
|
#
f5ef46ae |
| 27-Feb-2011 |
pooka <pooka@NetBSD.org> |
make error messages sensible. from uwe
|
#
8ab42f97 |
| 25-Feb-2011 |
pooka <pooka@NetBSD.org> |
whoops, didn't mean to delete futimes in previous. also from riz
|
#
dd1249c6 |
| 25-Feb-2011 |
pooka <pooka@NetBSD.org> |
support mknod. from riz
|
#
6f4d630f |
| 24-Feb-2011 |
pooka <pooka@NetBSD.org> |
Make the rumphijack dlsym trampoline call from rumpclient a "real" function call instead of a call through a function pointer. Apparently powerpc ld.elf_so gets __hackish_return_address() wrong if th
Make the rumphijack dlsym trampoline call from rumpclient a "real" function call instead of a call through a function pointer. Apparently powerpc ld.elf_so gets __hackish_return_address() wrong if the call is done through a function pointer (digging deeper into that stuff is beyond my interest).
Thanks to riz for providing access to a macppc for debugging. Unthanks to the broken toolchain in the default installation which wasted approximately 4 hours of time last night.
show more ...
|
#
70dc948b |
| 23-Feb-2011 |
pooka <pooka@NetBSD.org> |
Return value audit: properly set errno and return -1. Fixes at least cross-kernel mv(1).
|
#
219dd862 |
| 23-Feb-2011 |
pooka <pooka@NetBSD.org> |
+access(2)
|
#
5f860db4 |
| 23-Feb-2011 |
pooka <pooka@NetBSD.org> |
Put the dlsym-from-this-object trampoline into a separate source module which is compiled -fno-optimize-sibling-calls instead of trying to fool the optimizer in various ways in the trampoline.
thank
Put the dlsym-from-this-object trampoline into a separate source module which is compiled -fno-optimize-sibling-calls instead of trying to fool the optimizer in various ways in the trampoline.
thanks to yamt for the tip
show more ...
|
#
870741e4 |
| 21-Feb-2011 |
pooka <pooka@NetBSD.org> |
If minfd for F_DUPFD is >= hijackoff, assume it means a minimum value in the rump kernel and adjust accordingly.
|