Home | History | Annotate | Download | only in librumpuser
History log of /src/lib/librumpuser/rumpuser_daemonize.c
RevisionDateAuthorComments
 1.10  04-Apr-2024  riastradh Temporarily make PR t_sp:sigsafe noisier.

This is an attempt to diagnose why it's flaky in the releng testbeds
but not when I run it. This change will be backed out once we get
new testbed output.
 1.9  04-Apr-2024  riastradh rumpuser(3): New RUMP_STDOUT, RUMP_STDERR environment variables.

If set, then when rump daemonizes, it opens the path in RUMP_STDOUT
and redirects fd 1 to that (which mostly gets the kernel console
output), and opens the path in RUMP_STDERR and redirects fd 2 to that
(no idea what this gets but it's probably good to record if it ever
gets anything).

This will allow tests that rely on rump_server daemons to stash the
output for diagnostics in case, e.g., the rump kernel crashes.

PR bin/58112
 1.8  03-Aug-2023  andvar fix typos in comments and one definition, mainly s/sucket/socket/.
 1.7  04-Nov-2014  pooka branches: 1.7.26;
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)
 1.6  07-May-2013  pooka include stdint.h before rumpuser.h (on some platforms it doesn't get
there automagically)
 1.5  30-Apr-2013  pooka Translate error codes between the hypervisor and rump kernel.
 1.4  18-Nov-2012  pooka Fixes for Solarisa.
 1.3  27-Jul-2012  pooka branches: 1.3.2;
Once again, make the rump kernel hypercall layer work on Linux.
 1.2  22-Jan-2011  pooka branches: 1.2.4;
shush lint
 1.1  30-Nov-2010  pooka branches: 1.1.2;
Require server to be explicitly initialized with rump_init_server(url).
Also, add rump_daemonize_begin() / rump_daemonize_end() to help
with the "can't daemon() after pthread_create()" problem. Applications
could accomplish the same, but since it's such a common operation,
provide a little help.
 1.1.2.1  08-Feb-2011  bouyer Sync with HEAD
 1.2.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.2.4.2  16-Jan-2013  yamt sync with (a bit old) head
 1.2.4.1  30-Oct-2012  yamt sync with head
 1.3.2.2  23-Jun-2013  tls resync from head
 1.3.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.26.1  11-Sep-2024  martin Pull up following revision(s) (requested by rin in ticket #824):

lib/librumpuser/rumpuser_daemonize.c: revision 1.9
lib/librumpuser/rumpuser_daemonize.c: revision 1.10

rumpuser(3): New RUMP_STDOUT, RUMP_STDERR environment variables.

If set, then when rump daemonizes, it opens the path in RUMP_STDOUT
and redirects fd 1 to that (which mostly gets the kernel console
output), and opens the path in RUMP_STDERR and redirects fd 2 to that
(no idea what this gets but it's probably good to record if it ever
gets anything).

This will allow tests that rely on rump_server daemons to stash the
output for diagnostics in case, e.g., the rump kernel crashes.
PR bin/58112

RSS XML Feed