From 39656a6f79e48f86d31c53a939481c07aceca352 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 25 Oct 2017 23:16:09 +0200 Subject: Print syscall number and arch to stderr when trapped by seccomp This should help debugging crashes. The signal handler is a C++11 lambda, yay! Special care has been taken to only use signal handler -safe functions inside there. --- doc/examples/configure-index | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/examples/configure-index b/doc/examples/configure-index index f0d81bb7a..a765fbe42 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -640,6 +640,7 @@ apt::system ""; apt::acquire::translation ""; // deprecated in favor of Acquire::Languages apt::sandbox::user ""; apt::sandbox::seccomp ""; +apt::sandbox::seccomp::print ""; // print what syscall was trapped apt::sandbox::seccomp::allow ""; apt::sandbox::seccomp::trap ""; apt::color::highlight ""; -- cgit v1.2.3