]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
start: remove monitor_signal_pdeath codepath
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 2 Dec 2019 13:13:02 +0000 (14:13 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 2 Dec 2019 13:13:02 +0000 (14:13 +0100)
This causes compilation failures due to a bad cherry-pick.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c

index daef57abce02890d2bffd1f7c34f7d15d663ee33..ef24f8ec6cc0cb30422aea55682dcc5c101ef1f7 100644 (file)
@@ -1470,16 +1470,6 @@ static int do_start(void *data)
                goto out_warn_father;
        }
 
-       if (handler->conf->monitor_signal_pdeath != SIGKILL) {
-               ret = lxc_set_death_signal(handler->conf->monitor_signal_pdeath,
-                                          handler->monitor_pid, status_fd);
-               if (ret < 0) {
-                       SYSERROR("Failed to set PR_SET_PDEATHSIG to %d",
-                                handler->conf->monitor_signal_pdeath);
-                       goto out_warn_father;
-               }
-       }
-
        /* After this call, we are in error because this ops should not return
         * as it execs.
         */