2 * Copyright (C) 2011 EfficiOS Inc.
3 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 * SPDX-License-Identifier: GPL-2.0-only
10 #include "lttng-sessiond.hpp"
14 /* Notify parents that we are ready for cmd and health check */
15 void sessiond_signal_parents()
18 * Notify parent pid that we are ready to accept command
19 * for client side. This ppid is the one from the
20 * external process that spawned us.
22 if (the_config
.sig_parent
) {
23 kill(the_ppid
, SIGUSR1
);
27 * Notify the parent of the fork() process that we are
30 if (the_config
.daemonize
|| the_config
.background
) {
31 kill(the_child_ppid
, SIGUSR1
);
This page took 0.029738 seconds and 4 git commands to generate.