emacs/lib-src
Philipp Stephani 202a61d09c 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.
2020-12-29 14:37:51 +01:00
..
ChangeLog.1 ; Fix trivial typos in ChangeLogs 2020-10-03 12:53:51 +02: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 ; Fix more trivial typos 2020-09-21 15:32:46 +02:00
emacsclient.c Adjust to recent Gnulib changes 2020-12-25 01:40:39 -08:00
etags.c Adjust to recent Gnulib changes 2020-12-25 01:40:39 -08:00
hexl.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
make-docfile.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
make-fingerprint.c ; * lib-src/make-fingerprint.c: Update commentary. 2020-11-15 15:09:17 -08:00
Makefile.in Add a helper binary to create a basic Secure Computing filter. 2020-12-29 14:37:51 +01:00
movemail.c Mark the return value from strerror as a constant 2020-10-14 06:19:33 +02:00
ntlib.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ntlib.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pop.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pop.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rcs2log Fix copyright years by hand 2020-01-01 01:01:53 +00:00
README changed Emacs' to GNU Emacs' 2006-03-31 07:25:44 +00:00
seccomp-filter.c Add a helper binary to create a basic Secure Computing filter. 2020-12-29 14:37:51 +01:00
update-game-score.c Adjust to recent Gnulib changes 2020-12-25 01:40:39 -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.