source: general/genlib/libseccomp.xml@ 11f3b7e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 11f3b7e was 11f3b7e, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Add libseccomp
Currency script might require adjusting

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19283 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libseccomp-download-http "https://github.com/seccomp/libseccomp/releases/download/v&libseccomp-version;/libseccomp-&libseccomp-version;.tar.gz">
8 <!ENTITY libseccomp-download-ftp " ">
9 <!ENTITY libseccomp-md5sum "e74a626bea0cd607c23229b10b5f93da">
10 <!ENTITY libseccomp-size "548 KB">
11 <!ENTITY libseccomp-buildsize "6.2 MB (additional 3.4 MB for tests)">
12 <!ENTITY libseccomp-time "less than 0.1 SBU (additional 1.9 SBU for tests)">
13<!-- EDITORS NOTE:
14 This library is heavily dependent on system calls at the time of it's release.
15 This should be tested with every new minor (v4.13, v4.14, etc.) release
16 of the kernel, as it is very finicky and relies on hacks to accomplish
17 it's purpose. -->
18]>
19
20<sect1 id="libseccomp" xreflabel="libseccomp-&libseccomp-version;">
21 <?dbhtml filename="libseccomp.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>libseccomp-&libseccomp-version;</title>
29
30 <indexterm zone="libseccomp">
31 <primary sortas="a-libseccomp">libseccomp</primary>
32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to libseccomp</title>
36
37 <para>
38 The <application>libseccomp</application> package provides an easy to use
39 and platform independent interface to the <application>Linux</application>
40 kernel's syscall filtering mechanism.
41 </para>
42
43 &lfs81_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&libseccomp-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&libseccomp-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &libseccomp-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &libseccomp-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &libseccomp-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &libseccomp-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">libseccomp Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="python3"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="valgrind"/>,
89 <ulink url="http://cython.org/">Cython</ulink>, and
90 <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>
91 </para>
92
93 <para condition="html" role="usernotes">
94 User Notes: <ulink url="&blfs-wiki;/libseccomp"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of libseccomp</title>
100
101 <para>
102 Install <application>libseccomp</application> by running the following
103 commands:
104 </para>
105
106<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
107make</userinput></screen>
108
109 <para>
110 To test the results, issue: <command>make check</command>.
111 </para>
112
113 <para>
114 Now, as the <systemitem class="username">root</systemitem> user:
115 </para>
116
117<screen role="root"><userinput>make install</userinput></screen>
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
124 href="../../xincludes/static-libraries.xml"/>
125
126 </sect2>
127
128 <sect2 role="content">
129 <title>Contents</title>
130
131 <segmentedlist>
132 <segtitle>Installed Program</segtitle>
133 <segtitle>Installed Library</segtitle>
134 <segtitle>Installed Directories</segtitle>
135
136 <seglistitem>
137 <seg>
138 scmp_sys_resolver
139 </seg>
140 <seg>
141 libseccomp.so
142 </seg>
143 <seg>
144 None
145 </seg>
146 </seglistitem>
147 </segmentedlist>
148
149 <variablelist>
150 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
151 <?dbfo list-presentation="list"?>
152 <?dbhtml list-presentation="table"?>
153
154 <varlistentry id="scmp_sys_resolver">
155 <term><command>scmp_sys_resolver</command></term>
156 <listitem>
157 <para>
158 is used to resolve system calls for applications.
159 </para>
160 <indexterm zone="libseccomp scmp_sys_resolver">
161 <primary sortas="b-scmp_sys_resolver">scmp_sys_resolver</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="libseccomp-lib">
167 <term><filename class="libraryfile">libseccomp.so</filename></term>
168 <listitem>
169 <para>
170 contains API functions for translating syscalls.
171 </para>
172 <indexterm zone="libseccomp libseccomp-lib">
173 <primary sortas="c-libseccomp-lib">libseccomp.so</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177 </variablelist>
178 </sect2>
179</sect1>
Note: See TracBrowser for help on using the repository browser.