summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/loader.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-01-02 15:46:40 -0800
committerShentubot <shentubot@google.com>2019-01-02 15:48:00 -0800
commit33191e1cc4010693c434b24baa4d830d082c8ce6 (patch)
treeeeb237162748470c7c9763ff0a14fef0ca4c1225 /runsc/boot/loader.go
parent8e586db16274c2563fb13c95bafa9e20ea3d73ce (diff)
Automated rollback of changelist 225089593
PiperOrigin-RevId: 227595007 Change-Id: If14cc5aab869c5fd7a4ebd95929c887ab690e94c
Diffstat (limited to 'runsc/boot/loader.go')
-rw-r--r--runsc/boot/loader.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go
index 3c6892446..71a2ab962 100644
--- a/runsc/boot/loader.go
+++ b/runsc/boot/loader.go
@@ -309,14 +309,10 @@ func New(args Args) (*Loader, error) {
// Handle signals by forwarding them to the root container process
// (except for panic signal, which should cause a panic).
l.startSignalForwarding = sighandling.PrepareHandler(func(sig linux.Signal) {
- // Tracing signals should cause their respective actions.
+ // Panic signal should cause a panic.
if args.Conf.PanicSignal != -1 && sig == linux.Signal(args.Conf.PanicSignal) {
panic("Signal-induced panic")
}
- if args.Conf.TraceSignal != -1 && sig == linux.Signal(args.Conf.TraceSignal) {
- log.TracebackAll("Signal-induced traceback")
- return
- }
// Otherwise forward to root container.
deliveryMode := DeliverToProcess