summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-10-25 23:16:09 +0200
committerJulian Andres Klode <jak@debian.org>2017-10-26 00:02:33 +0200
commit39656a6f79e48f86d31c53a939481c07aceca352 (patch)
treeca6480572246c46d84857a108a4b294ac5825235 /doc/examples
parent230b0570532bf2f419608b2043a9d6e02b9467e3 (diff)
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.
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index1
1 files changed, 1 insertions, 0 deletions
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 "<STRING>";
apt::acquire::translation "<STRING>"; // deprecated in favor of Acquire::Languages
apt::sandbox::user "<STRING>";
apt::sandbox::seccomp "<BOOL>";
+apt::sandbox::seccomp::print "<BOOL>"; // print what syscall was trapped
apt::sandbox::seccomp::allow "<LIST>";
apt::sandbox::seccomp::trap "<LIST>";
apt::color::highlight "<STRING>";