]> git.eshelyaron.com Git - emacs.git/commit
Attempt to print some debugging information on Seccomp failures.
authorPhilipp Stephani <phst@google.com>
Sat, 17 Apr 2021 19:06:11 +0000 (21:06 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 17 Apr 2021 19:08:17 +0000 (21:08 +0200)
commit568ce6826fa0aaa4d5dc95880cbdc0965dc07521
tree806b8a6d0a42f0b8fd6e34f1d449a48617fb764d
parent3430c12154579103c3de991bcda4558ed46a485e
Attempt to print some debugging information on Seccomp failures.

Try to search the audit log as well as recent core dumps.

* test/src/emacs-tests.el (emacs-tests--seccomp-debug): New helper
function.
(emacs-tests/seccomp/allows-stdout)
(emacs-tests/seccomp/forbids-subprocess)
(emacs-tests/bwrap/allows-stdout): Use it.
test/src/emacs-tests.el