diff options
author | Philipp Stephani <phst@google.com> | 2021-04-11 19:47:36 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-04-11 21:19:09 +0200 |
commit | c8d542fd593f06b85d4b7b712378a4f84ec4d2b3 (patch) | |
tree | c2368357e6a417f4d7441e8eec13ee1ffc71b2d2 /.gitignore | |
parent | cf0701eff0f3b06e0324be07f7810cbaf261f7f3 (diff) | |
download | emacs-c8d542fd593f06b85d4b7b712378a4f84ec4d2b3.tar.gz |
Add a variant of the Seccomp filter file that allows 'execve'.
This is useful when starting Emacs with a Seccomp filter enabled,
e.g. using 'bwrap'.
* lib-src/seccomp-filter.c (main): Generate new Seccomp files.
* lib-src/Makefile.in (all)
(seccomp-filter.bpf seccomp-filter.pfc seccomp-filter-exec.bpf
seccomp-filter-exec.pfc): Generate new Seccomp files.
* .gitignore: Ignore new Seccomp files.
* test/src/emacs-tests.el (emacs-tests/bwrap/allows-stdout): New unit
test.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index ecf768dc4d6..a1e3cb92f87 100644 --- a/.gitignore +++ b/.gitignore @@ -306,3 +306,5 @@ src/gdb.ini # Seccomp filter files. lib-src/seccomp-filter.bpf lib-src/seccomp-filter.pfc +lib-src/seccomp-filter-exec.bpf +lib-src/seccomp-filter-exec.pfc |