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.5.5/libseccomp-2.5.5.tar.gz
Download MD5 sum: c27a5e43cae1e89e6ebfedeea734c9b4
Download size: 628 KB
Estimated disk space required: 7.1 MB (additional 4.7 MB for tests)
Estimated build time: less than 0.1 SBU (additional 2.9 SBU for tests)
Which-2.21 (needed for tests), Valgrind-3.22.0, 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.