1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 08:31:09 -08:00
emacs/test/src
Philipp Stephani 1060289f51 Add a helper binary to create a basic Secure Computing filter.
The binary uses the 'seccomp' helper library.  The library isn't
needed to load the generated Secure Computing filter.

* configure.ac: Check for 'seccomp' header and library.

* lib-src/seccomp-filter.c: New helper binary to generate a generic
Secure Computing filter for GNU/Linux.

* lib-src/Makefile.in (DONT_INSTALL): Add 'seccomp-filter' helper
binary if possible.
(all): Add Secure Computing filter file if possible.
(seccomp-filter$(EXEEXT)): Compile helper binary.
(seccomp-filter.bpf seccomp-filter.pfc): Generate filter files.

* test/src/emacs-tests.el (emacs-tests/seccomp/allows-stdout)
(emacs-tests/seccomp/forbids-subprocess): New unit tests.

* test/Makefile.in (src/emacs-tests.log): Add dependency on the helper
binary.
2021-04-10 21:10:16 +02:00
..
emacs-module-resources Update copyright year to 2021 2021-01-01 01:13:56 -08:00
emacs-resources Add a helper binary to create a basic Secure Computing filter. 2021-04-10 21:10:16 +02:00
lread-resources Move some test data to follow our conventions 2020-10-23 16:29:46 +02:00
regex-resources ; Fix more typos 2020-10-03 12:53:51 +02:00
syntax-resources Enhance syntax-tests.el to test nestable comments (Lisp style) 2020-11-17 16:51:49 +00:00
alloc-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
buffer-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
callint-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
callproc-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
casefiddle-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
charset-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
chartab-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cmds-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
coding-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
data-tests.el Assert not local-variable-p after setq in let_default binding 2021-03-25 12:39:26 -04:00
decompress-tests.el Prefer skip-unless in more tests 2021-01-13 17:39:53 +01:00
editfns-tests.el Improve wrong number of args error message in propertize 2021-02-22 11:56:12 +01:00
emacs-module-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
emacs-tests.el Add a helper binary to create a basic Secure Computing filter. 2021-04-10 21:10:16 +02:00
eval-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
fileio-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
filelock-tests.el File unlock errors now issue warnings (Bug#46397) 2021-03-27 12:17:31 +03:00
floatfns-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
fns-tests.el ; Minor license statement fixes 2021-02-08 09:10:57 +01:00
font-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
indent-tests.el ; Minor license statement fixes 2021-02-08 09:10:57 +01:00
inotify-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
json-tests.el Allow any JSON value at the top level (Bug#42994). 2021-02-13 14:37:19 +01:00
keyboard-tests.el * test/lisp/emacs-lisp/edebug-tests.el: Adjust to new edebug-eval-defun. 2021-02-19 12:08:00 -05:00
keymap-tests.el Add some new tests for keymap.c 2021-03-06 04:10:45 +01:00
lcms-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
lread-tests.el Add a new variable `inhibit-interaction' 2021-01-12 15:12:38 +01:00
marker-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
minibuf-tests.el * test/src/minibuf-tests.el (test-inhibit-interaction): Fix test. 2021-02-01 12:29:10 +01:00
print-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
process-tests.el Remove unnecessary requires of rx 2021-03-22 01:06:32 +01:00
regex-emacs-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
syntax-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
textprop-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
thread-tests.el Remove redundant #' before lambda in tests 2021-04-04 13:06:33 +02:00
timefns-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
undo-tests.el Fix a warning due to not preloading facemenu.el 2021-03-19 02:12:01 +01:00
xdisp-tests.el * test/src/xdisp-tests.el: Fix tests to work in batch mode 2021-01-18 19:03:01 +02:00
xfaces-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
xml-tests.el Prefer skip-unless in more tests 2021-01-13 17:39:53 +01:00