The libseccomp package provides an easy to use and platform independent interface to the Linux kernel's syscall filtering mechanism.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/seccomp/libseccomp/releases/download/v2.6.2/libseccomp-2.6.2.tar.gz
Download MD5 sum: ec216c39239d6ae8680e7ae991411f9b
Download size: 648 KB
Estimated disk space required: 14 MB (with tests)
Estimated build time: less than 0.1 SBU (additional 1.7 SBU for tests)
Which-2.25 (needed for tests), Valgrind-3.28.0, cython-3.3.1 (for python bindings), and LCOV
Install libseccomp by running the following commands:
./configure --prefix=/usr --disable-static && make
To test the results, issue: make check.
Now, as the root user:
make install
--disable-static: This
switch prevents installation of static versions of the libraries.
--enable-python: this switch is needed
to build python bindings if cython-3.3.1
is installed. The option --disable-static must not be given if this option
is used. And you must run sed 's/env
python/&3/' -i tests/regression if this option
is used and you want to run the test suite.