1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 16:20:40 -08:00
emacs/lib-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
..
ChangeLog.1 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
ctags.c Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
emacsclient.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
etags.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
hexl.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
make-docfile.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
make-fingerprint.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
Makefile.in Add a helper binary to create a basic Secure Computing filter. 2021-04-10 21:10:16 +02:00
movemail.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ntlib.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ntlib.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
pop.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
pop.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
rcs2log Update copyright year to 2021 2021-01-01 01:13:56 -08:00
README
seccomp-filter.c Add a helper binary to create a basic Secure Computing filter. 2021-04-10 21:10:16 +02:00
update-game-score.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.