source: general/genlib/libseccomp.xml@ 296cbe2

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 296cbe2 was 7b459c22, checked in by Bruce Dubbs <bdubbs@…>, 21 months ago

Add Cython python module.

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