A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « Python module Jinja2 | HOME | LibSecComp 32-bit » |
Name: LibSecComp 64-bit
Summary: A platform independent interface to the Linux syscall filtering mechanism
License: LGPL v2.1 or later
Version: 2.6.0
URL: https://github.com/seccomp/libseccomp/releases/download/v2.6.0/libseccomp-2.6.0.tar.gz
Average Build Time: less than 0.1 SBU
Used Install Space: 3.6 MiB
To configure LibSecComp 64-bit for install into the build root, run the following command:
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64 \
--docdir=/usr/share/doc/libseccomp-2.6.0 \
--sysconfdir=/etc \
--enable-pic \
--enable-shared \
--enable-python
Note, we cannot disable the build of the static library at configuration time since it is needed to build the Python components.
To compile LibSecComp 64-bit, run the following command:
make
The tests at this point will not run without valgrind and LibBPF. These tools will be installed later.
Finally, to install LibSecComp 64-bit into the build tree, run the following command:
make DESTDIR=$PWD/DESTDIR install
rm -fv DESTDIR/usr/lib64/*.a
rm -fv DESTDIR/usr/lib64/*.la
cp -Rv DESTDIR/usr/* /usr/
NOTE: Do not delete the unpacked sources after build.
| Contents | |
|---|---|
| Installed Programs | scmp_sys_resolver |
| Installed Libraries | libseccomp.so |
| Installed Plugins | seccomp Python module |
| Navigation | ||
|---|---|---|
| « Python module Jinja2 | HOME | LibSecComp 32-bit » |