libseccomp-2.6.0

Introduction to libseccomp

The libseccomp package provides an easy to use and platform independent interface to the Linux kernel's syscall filtering mechanism.

[Note]

Note

This version of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable version of the System V books.

Package Information

libseccomp Dependencies

Optional

Which-2.23 (needed for tests), Valgrind-3.26.0, cython-3.2.4 (for python bindings), and LCOV

Installation of libseccomp

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

Command Explanations

--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.2.4 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.

Contents

Installed Program: scmp_sys_resolver
Installed Library: libseccomp.so
Installed Directories: None

Short Descriptions

scmp_sys_resolver

is used to resolve system calls for applications

libseccomp.so

contains API functions for translating syscalls