source: general/genlib/libseccomp.xml@ e962ced

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e962ced was 09a464a, checked in by Douglas R. Reno <renodr@…>, 17 months ago

Lots of tags and a typo fix in Nettle

  • Property mode set to 100644
File size: 5.2 KB
RevLine 
[11f3b7e]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 " ">
[46ccf4e]9 <!ENTITY libseccomp-md5sum "74008bb33234e0c2a0d998e7bee5c625">
[8f2f5a3]10 <!ENTITY libseccomp-size "624 KB">
11 <!ENTITY libseccomp-buildsize "6.3 MB (additional 3.8 MB for tests)">
12 <!ENTITY libseccomp-time "less than 0.1 SBU (additional 2.1 SBU for tests)">
[11f3b7e]13<!-- EDITORS NOTE:
[8558044]14 This library is heavily dependent on system calls at the time of it's release.
[11f3b7e]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
24 <title>libseccomp-&libseccomp-version;</title>
25
26 <indexterm zone="libseccomp">
27 <primary sortas="a-libseccomp">libseccomp</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to libseccomp</title>
32
33 <para>
34 The <application>libseccomp</application> package provides an easy to use
35 and platform independent interface to the <application>Linux</application>
36 kernel's syscall filtering mechanism.
37 </para>
38
[09a464a]39 &lfs113_checked;
[11f3b7e]40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&libseccomp-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&libseccomp-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &libseccomp-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &libseccomp-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &libseccomp-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &libseccomp-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">libseccomp Dependencies</bridgehead>
[1ace57a]76
[11f3b7e]77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
[f4f45ce]79 <xref linkend="which"/> (needed for tests),
[11f3b7e]80 <xref linkend="valgrind"/>,
[05355b8]81 <!--<xref linkend="cython"/> (for python bindings), -->and
[17aa21c]82 <ulink url="https://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>
[11f3b7e]83 </para>
84
85 <para condition="html" role="usernotes">
86 User Notes: <ulink url="&blfs-wiki;/libseccomp"/>
87 </para>
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of libseccomp</title>
92
93 <para>
94 Install <application>libseccomp</application> by running the following
95 commands:
96 </para>
97
98<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
99make</userinput></screen>
100
101 <para>
102 To test the results, issue: <command>make check</command>.
103 </para>
104
105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
108
109<screen role="root"><userinput>make install</userinput></screen>
110 </sect2>
111
112 <sect2 role="commands">
113 <title>Command Explanations</title>
114
115 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
116 href="../../xincludes/static-libraries.xml"/>
[05355b8]117<!--
[4e142ae8]118 <para>
[05355b8]119 <option>- -enable-python</option>: this switch is needed to build
[7b459c22]120 python bindings if <xref linkend="cython"/> is installed.
[4e142ae8]121 </para>
[05355b8]122-->
[11f3b7e]123 </sect2>
124
125 <sect2 role="content">
126 <title>Contents</title>
127
128 <segmentedlist>
129 <segtitle>Installed Program</segtitle>
130 <segtitle>Installed Library</segtitle>
131 <segtitle>Installed Directories</segtitle>
132
133 <seglistitem>
134 <seg>
135 scmp_sys_resolver
136 </seg>
137 <seg>
138 libseccomp.so
139 </seg>
140 <seg>
141 None
142 </seg>
143 </seglistitem>
144 </segmentedlist>
145
146 <variablelist>
147 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
148 <?dbfo list-presentation="list"?>
149 <?dbhtml list-presentation="table"?>
150
151 <varlistentry id="scmp_sys_resolver">
152 <term><command>scmp_sys_resolver</command></term>
153 <listitem>
154 <para>
[4c24eb0a]155 is used to resolve system calls for applications
[11f3b7e]156 </para>
157 <indexterm zone="libseccomp scmp_sys_resolver">
158 <primary sortas="b-scmp_sys_resolver">scmp_sys_resolver</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="libseccomp-lib">
164 <term><filename class="libraryfile">libseccomp.so</filename></term>
165 <listitem>
166 <para>
[4c24eb0a]167 contains API functions for translating syscalls
[11f3b7e]168 </para>
169 <indexterm zone="libseccomp libseccomp-lib">
170 <primary sortas="c-libseccomp-lib">libseccomp.so</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174 </variablelist>
175 </sect2>
[4c24eb0a]176
[11f3b7e]177</sect1>
Note: See TracBrowser for help on using the repository browser.