From 69df6c423eb6549ab40cf7da4fb62e208c97d440 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Wed, 26 Mar 2014 06:55:46 +0000 Subject: [PATCH] Don't send prctl to be consistent with other drivers Docker-DCO-1.1-Signed-off-by: Michael Crosby (github: crosbymichael) --- nsinit/init.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nsinit/init.go b/nsinit/init.go index 85182326e..c7c2addb1 100644 --- a/nsinit/init.go +++ b/nsinit/init.go @@ -54,11 +54,6 @@ func (ns *linuxNs) Init(container *libcontainer.Container, uncleanRootfs, consol return fmt.Errorf("setctty %s", err) } } - // this is our best effort to let the process know that the parent has died and that it - // should it should act on it how it sees fit - if err := system.ParentDeathSignal(uintptr(syscall.SIGTERM)); err != nil { - return fmt.Errorf("parent death signal %s", err) - } if err := setupNetwork(container, context); err != nil { return fmt.Errorf("setup networking %s", err) }