Displaying 5 results from an estimated 5 matches for "pr_set_pdeathsig".
2018 Aug 12
13
[PATCH nbdkit 00/10] FreeBSD support.
With these patches, a majority of tests pass. The notable
things which are still broken:
- Because FreeBSD links /home -> /usr/home, $(pwd) gives a different
result from realpath(2). Therefore some tests which implicitly
rely on (eg) a plugin which calls nbdkit_realpath internally and
then checking that path against $(pwd) fail.
- Shebangs (#!) don't seem to work the same way
2019 Nov 19
0
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...aml's at_exit, C's atexit(3) or wrappers like
Tools_utils.unlink_on_exit or Tools_utils.rmdir_on_exit, then those
have already run before nbdkit starts to shut down.
Nbdkit should receive a signal from the kernel when its parent process
(virt-v2v) goes away, because we're using prctl + PR_SET_PDEATHSIG +
SIGTERM (via ‘nbdkit --exit-with-parent’). Note this happens *after*
virt-v2v has fully exited.
Hence what I say about the above being likely, since
rmdir_on_exit "/var/tmp/rhvupload.XXXXXX" is being called from
virt-v2v on exit:
https://github.com/libguestfs/virt-v2v/blob/b8b9dcc9...
2018 Jun 28
1
[nbdkit PATCH] main: More idiomatic use of getopt_long
...- }
- else if (strcmp (long_options[option_index].name, "exit-with-parent") == 0) {
+ case DUMP_CONFIG_OPTION:
+ dump_config ();
+ exit (EXIT_SUCCESS);
+
+ case DUMP_PLUGIN_OPTION:
+ dump_plugin = 1;
+ break;
+
+ case EXIT_WITH_PARENT_OPTION:
#ifdef PR_SET_PDEATHSIG
- exit_with_parent = 1;
- foreground = 1;
+ exit_with_parent = 1;
+ foreground = 1;
+ break;
#else
- fprintf (stderr, "%s: --exit-with-parent is not implemented for this operating system\n",
- program_name);
- exit (EXIT_FAILURE)...
2019 Nov 19
5
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
On Tue, Nov 19, 2019 at 01:48:31PM +0100, Martin Kletzander wrote:
>On Tue, Nov 19, 2019 at 02:24:11PM +0200, Nir Soffer wrote:
>>On Tue, Nov 19, 2019 at 2:16 PM Martin Kletzander <mkletzan@redhat.com> wrote:
>>> On Tue, Nov 19, 2019 at 01:14:23PM +0200, Nir Soffer wrote:
>>> >On Tue, Nov 19, 2019 at 11:17 AM Martin Kletzander <mkletzan@redhat.com> wrote:
2008 Mar 21
12
[Bug 1450] New: Support for ConsoleKit on Linux through dbus calls
https://bugzilla.mindrot.org/show_bug.cgi?id=1450
Summary: Support for ConsoleKit on Linux through dbus calls
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: Other