#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 9. General Libraries

- Prev

  libqmi-1.30.4

- Next

  libsigc++-2.10.8

- Up
- Home

# libseccomp-2.5.3

## Introduction to libseccomp

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

This package is known to build and work properly using an LFS-11.1 platform.

### Package Information

- Download (HTTP): https://github.com/seccomp/libseccomp/releases/download/v2.5.3/libseccomp-2.5.3.tar.gz

- Download MD5 sum: 5096d3912a605a72b27805fa0ef9886d

- Download size: 624 KB

- Estimated disk space required: 6.3 MB (additional 3.8 MB for tests)

- Estimated build time: less than 0.1 SBU (additional 2.1 SBU for tests)

### libseccomp Dependencies

#### Optional

Which-2.21 (needed for tests), Valgrind-3.18.1, Cython, and LCOV

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libseccomp

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

## 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

Last updated on

- Prev

  libqmi-1.30.4

- Next

  libsigc++-2.10.8

- Up
- Home