Home | History | Annotate | Download | only in librumphijack
History log of /src/lib/librumphijack/Makefile
RevisionDateAuthorComments
 1.23  01-Nov-2021  nia Force at most partial RELRO for rump_server and related libraries

rump_server with -l uses lazy resolution by default and thus cannot be
used with full RELRO/BIND_NOW.
 1.22  16-Sep-2019  kamil Stop passing -D_INCOMPLETE_XOPEN_C063 (obsolete define)
 1.21  17-Feb-2019  bad compile hijack.c with -D_INCOMPLETE_XOPEN_C063 so that AT_FDCWD is alwasy
defined for rumpkernels.
 1.20  11-May-2017  sevan branches: 1.20.10;
With the removal of HAVE_REGISTER_T from rumpuser_port.h, _KERNTYPES does not
need to be defined. This allows register_t to be typedef'd to RUMP_REGISTER_T
without conflict, as highlighted in PR kern/52206.
 1.19  10-May-2017  sevan Revert previous change so builds can resume.
_KERNTYPES needs to be defined for NetBSD builds to succeed.
_KERNTYPES must not be defined for buildrum.sh builds to succeed.
 1.18  10-May-2017  sevan Do not define _KERNTYPES as this breaks build with buildrump.sh due to
conflicting types for register_t.
Closes PR kern/52206
Steered in the right direction by christos.
 1.17  23-Jan-2016  christos branches: 1.17.6;
Define _KERNTYPES for things that need it.
 1.16  18-Jan-2014  tron 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 makefile.
 1.15  10-Jan-2014  christos don't need to include anything before bsd.lib.mk since we don't use any
variables
 1.14  10-Jan-2014  martin ACTIVE_CC can only be used after include of bsd.own.mk
 1.13  10-Sep-2013  pooka use <rump/rumpuser_port.h>
 1.12  29-Jul-2013  pooka Override ssp also in case where it doesn't come intrinsically
from the compiler.
 1.11  27-Jul-2013  pooka Extend #undef _FORTIFY_SOURCE to both files to avoid compiler
warning for -O0 and fortify combination.

from Alessio Sergi via github
 1.10  25-Aug-2012  pooka branches: 1.10.2;
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).
 1.9  21-Mar-2012  matt These directories default to WARNS?=5
 1.8  25-Feb-2011  pooka branches: 1.8.4;
Ok, for reasons I can't begin to understand, the binaries I tested
yesterday on powerpc broke overnight. Apparently adding one more
function before the call to dlsym() fixes things again. I hope
I don't have to add another one tomorrow ....
 1.7  23-Feb-2011  pooka 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
 1.6  27-Jan-2011  pooka Use NEEDED for librumpclient instead of loading it manually.
 1.5  25-Jan-2011  pooka enable WARNS=4
 1.4  25-Jan-2011  pooka manual page for rumphijack
 1.3  18-Jan-2011  pooka branches: 1.3.2;
comment out DBG and NOGCCERROR, use proper LIBDPLIBS form
 1.2  18-Jan-2011  pooka use -D_REENTRANT (should currently have no effect, but better safe
than sorry if someone adds uses of stdio macros)
 1.1  07-Jan-2011  pooka Begin work on a syscall hijacking library which can be LD_PRELOADed
to convince non-rumped applications to communicate with a rump
kernel instead of the host kernel. The precision of what goes
where is not exactly surgical, but for example when wanting to
debug a web server's TCP/IP stack interaction, it might be enough.
When all you have is a hand grenade, all problems look like a ....
hmm?

There's still plenty to figure out. For example, I'm not sure what
the user interface will be like. Now it just attempts to hijack
network communication. It also needs to sync with symbol renaming
in libc, and maybe autogenerate the non-schizophrenic wrappers
where the communication is heading to exactly one destination, lest
I'll be a mummmy by the time I finish writing them all. As a fun
example of a non-non-schizophrenic one, consider poll().

Work in progress, but I managed to get two non-rumped netcats
talking to each other or fetching the index from a non-rumped
thttpd. telnet works in one direction (i can read the data from
netcat, but anything i send back is not printed). bozohttpd uses
dup2() which i haven't bothered to address yet, etcetc.

(not hooking this up the build for now)
 1.3.2.2  05-Mar-2011  bouyer Sync with HEAD
 1.3.2.1  08-Feb-2011  bouyer Sync with HEAD
 1.8.4.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8.4.2  30-Oct-2012  yamt sync with head
 1.8.4.1  17-Apr-2012  yamt sync with head
 1.10.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.6.2  19-May-2017  pgoyette Resolve conflicts from previous merge (all resulting from $NetBSD
keywork expansion)
 1.17.6.1  11-May-2017  pgoyette Sync with HEAD
 1.20.10.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.20.10.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed