History log of /netbsd/lib/librumphijack/hijack.c (Results 26 – 50 of 137)
Revision Date Author Comments
# 8c4ba9b5 03-Mar-2015 enami <enami@NetBSD.org>

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
not tested this on linux.


# 9e2a065b 04-Nov-2014 pooka <pooka@NetBSD.org>

Use autoconf for rump kernel posix hypercall layer.

This gets rid of homegrown hacks and puts all probes in one place.

Tested for NetBSD (build.sh + anita) and Linux (buildrump.sh)


# f176d8ba 12-Aug-2014 pooka <pooka@NetBSD.org>

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 nothing to do with
fdoff, and was exposed >3 years after writ

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 nothing to do with
fdoff, and was exposed >3 years after writing the test when rump kernels
started providing fd's 0/1/2)

show more ...


# bf8f307d 21-Jul-2014 gson <gson@NetBSD.org>

Ignore the contents of revents when poll() returns failure.
This is one more part to the fix for PR kern/46464. Patch
from pooka.


# 86c3fcf5 19-Jul-2014 gson <gson@NetBSD.org>

Do not assert that the two threads do not simultanously notify each
other, because sometimes they do. Should fix PR kern/46464. OK pooka.


# 834bf80f 02-Apr-2014 justin <justin@NetBSD.org>

Add Android support for rump kernel.

Reviewed by pooka@


# 5f1e1405 10-Sep-2013 pooka <pooka@NetBSD.org>

use <rump/rumpuser_port.h>


# 408d708d 31-Jul-2013 pooka <pooka@NetBSD.org>

remove unnecessary <sys/poll.h> -- musl whines when it's included


# 74a7a65a 27-Jul-2013 pooka <pooka@NetBSD.org>

Extend #undef _FORTIFY_SOURCE to both files to avoid compiler
warning for -O0 and fortify combination.

from Alessio Sergi via github


# b75bf70a 22-Jul-2013 pooka <pooka@NetBSD.org>

Support Linuxen where libc ioctl has cmd as int unstead of unsigned long.


# b5d34d4e 20-Jul-2013 pooka <pooka@NetBSD.org>

Fixes when compiling against musl libc.

from Justin Cormack via private email


# 753fab5e 18-Jul-2013 pooka <pooka@NetBSD.org>

sys/cdefs.h should come from rumpuser_port.h

Noticed by Justin Cormack while building against musl libc.


# b99063e6 16-Oct-2012 pooka <pooka@NetBSD.org>

* avoid problems if the platform calls readlink() from dlsym()
* alias __read_chk() to read() on Linux (technically, though,
it should call host __read_chk() instead of read())


# 5d46d745 12-Sep-2012 martin <martin@NetBSD.org>

When emulating poll/select better tell the events of the host kernel
apart from those received from the rump kernel. Also handle timeout.
Patch from pooka.


# 0b1bcd38 03-Sep-2012 pooka <pooka@NetBSD.org>

one more patch for supporting linux-based networking clients


# e8160b1f 03-Sep-2012 pooka <pooka@NetBSD.org>

More fixes for Linux (or glibc, really).


# c0c1dce8 25-Aug-2012 pooka <pooka@NetBSD.org>

Make librumphijack compile and work on Linux. Do not try to hijack
calls which are not supported on Linux and therefore cannot be
handled by the rump kernel side syscall emulation (not that they'd
b

Make librumphijack compile and work on Linux. Do not try to hijack
calls which are not supported on Linux and therefore cannot be
handled by the rump kernel side syscall emulation (not that they'd
be present in the calling binaries anyway).

show more ...


# 95d7244d 04-Aug-2012 riastradh <riastradh@NetBSD.org>

Implement link(2) in rumphijack. Add a couple trivial test cases.


# 98ce6314 29-Jun-2012 yamt <yamt@NetBSD.org>

implement descriptor passing.


# 90275da6 25-Jun-2012 abs <abs@NetBSD.org>

Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)


# 1270645e 18-Apr-2012 martin <martin@NetBSD.org>

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
a void* (c.f. pthread_join(), pthread_exit()).
Do not use th

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
a void* (c.f. pthread_join(), pthread_exit()).
Do not use the address of an int variable for these, but provide the address
of a void* and assign the value afterwards.
Fixes hijacking of pollts/select on 64bit big endian hosts.
Spotted by and fix from pooka.

show more ...


# abf0121a 01-Feb-2012 dholland <dholland@NetBSD.org>

Change the syscall API for quotas over to the new non-proplib one.

- struct vfs_quotactl_args -> struct quotactl_args
- add sys/stdint.h to sys/quotactl.h for clean userland build
- install

Change the syscall API for quotas over to the new non-proplib one.

- struct vfs_quotactl_args -> struct quotactl_args
- add sys/stdint.h to sys/quotactl.h for clean userland build
- install sys/quotactl.h in /usr/include
- update set lists for same
- add new marshalling code in libquota
- add new unmarshalling code in vfs_syscalls.c
- discard proplib interpreter code in vfs_quotactl.c
- add dispatching code for the 14 quotactl ops in vfs_quotactl.c
- mark the proplib quotactl syscall obsolete
- add a new syscall number for the new quotactl syscall
- change the name of the syscall to __quotactl()
- remove the decl of the old quotactl from quota/quotaprop.h
- add a decl of the new quotactl to sys/quotactl.h
- update the libc build
- update ktruss
- remove proplib marshalling code from libquota
- update copy of syscall table in gdb ppc sources
- hack rumphijack to accomodate new quotactl name (as I recall,
pooka wanted such a name change to simplify something, but I
don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.

show more ...


# dbc12ec9 21-Apr-2011 joerg <joerg@NetBSD.org>

Disable Fortification for pthread and rump stubs.


# 83395a54 21-Apr-2011 martin <martin@NetBSD.org>

Backout previous, it breaks lots of tests (tests/lib/librumphijack for
example).


# eb5ef9be 13-Apr-2011 he <he@NetBSD.org>

Move the forward declaration of _sys_readlink() outside of the #if,
so that the build succeeds even if _FORTIFY_SOURCE isn't > 0.


123456