summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/compat.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-05-18 10:21:43 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-18 10:23:22 -0700
commit32ab382c80306d7dab499e983af2bfaea7770d1d (patch)
treeff9099d7b9ac0d590a6525583a200544d172661c /runsc/boot/compat.go
parentc27e334f260f6d1b2a380c8f105028a8140b7acd (diff)
Improve unsupported syscall message
PiperOrigin-RevId: 312104899
Diffstat (limited to 'runsc/boot/compat.go')
-rw-r--r--runsc/boot/compat.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/runsc/boot/compat.go b/runsc/boot/compat.go
index b7cfb35bf..84c67cbc2 100644
--- a/runsc/boot/compat.go
+++ b/runsc/boot/compat.go
@@ -119,7 +119,13 @@ func (c *compatEmitter) emitUnimplementedSyscall(us *spb.UnimplementedSyscall) {
}
if tr.shouldReport(regs) {
- c.sink.Infof("Unsupported syscall: %s, regs: %+v", c.nameMap.Name(uintptr(sysnr)), regs)
+ name := c.nameMap.Name(uintptr(sysnr))
+ c.sink.Infof("Unsupported syscall %s(%#x,%#x,%#x,%#x,%#x,%#x). It is "+
+ "likely that you can safely ignore this message and that this is not "+
+ "the cause of any error. Please, refer to %s/%s for more information.",
+ name, argVal(0, regs), argVal(1, regs), argVal(2, regs), argVal(3, regs),
+ argVal(4, regs), argVal(5, regs), syscallLink, name)
+
tr.onReported(regs)
}
}