source: general/genlib/keyutils.xml@ 9d75494

12.1 ken/TL2024 lazarus rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 9d75494 was 6961fefc, checked in by Douglas R. Reno <renodr@…>, 5 months ago

Update to keyutils-1.6.3

  • Property mode set to 100644
File size: 7.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 keyutils-download-http "https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-&keyutils-version;.tar.gz">
8 <!ENTITY keyutils-download-ftp " ">
9 <!ENTITY keyutils-md5sum "6b70b2b381c1b6d9adfaf66d5d3e7c00">
10 <!ENTITY keyutils-size "136 KB">
11 <!ENTITY keyutils-buildsize "2.6 MB (with tests)">
12 <!ENTITY keyutils-time "less than 0.1 SBU (add 0.4 SBU for tests)">
13]>
14
15<sect1 id="keyutils" xreflabel="keyutils-&keyutils-version;">
16 <?dbhtml filename="keyutils.html"?>
17
18
19 <title>keyutils-&keyutils-version;</title>
20
21 <indexterm zone="keyutils">
22 <primary sortas="a-keyutils">keyutils</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to keyutils</title>
27
28 <para>
29 <application>Keyutils</application> is a set of utilities for managing
30 the key retention facility in the kernel, which can be used by
31 filesystems, block devices and more to gain and retain the authorization
32 and encryption keys required to perform secure operations.
33 </para>
34
35 &lfs120_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&keyutils-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&keyutils-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &keyutils-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &keyutils-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &keyutils-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &keyutils-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 </sect2>
72
73 <sect2 role="installation">
74 <title>Installation of keyutils</title>
75
76 <para>
77 Install <application>keyutils</application> by running the following
78 commands:
79 </para>
80
81<screen><userinput>make</userinput></screen>
82
83 <para>
84 Now, as the <systemitem class="username">root</systemitem> user:
85 </para>
86
87<screen role="root"><userinput>make NO_ARLIB=1 LIBDIR=/usr/lib BINDIR=/usr/bin SBINDIR=/usr/sbin install</userinput></screen>
88
89 <para>
90 The test suite can only run after installing this package.
91 To test the results, issue, as the
92 <systemitem class="username">root</systemitem> user:
93 </para>
94
95<screen role="root" remap="test"><userinput>make -k test</userinput></screen>
96
97 <para>
98 Note that several tests will fail if certain uncommon kernel options
99 were not used when the kernel was built. These include CONFIG_BIG_KEYS,
100 CONFIG_KEY_DH_OPERATIONS, CONFIG_CRYPTO_DH,
101 CONFIG_SECONDARY_TRUSTED_KEYRING, and CONFIG_SYSTEM_BLACKLIST_KEYRING.
102 </para>
103
104 </sect2>
105
106 <sect2 role="commands">
107 <title>Command Explanations</title>
108
109<!--
110 <para>
111 <command>sed ... Makefile</command>: This command ensures the pkgconfig
112 file is placed in the correct directory.
113 </para>
114
115 <para>
116 <command>sed ... tests/toolbox.inc.sh</command>: In LFS, GCC has been
117 configured with <option>- -enable-default-pie</option> so
118 <command>/usr/bin/bash</command> is a PIE, but the test script does
119 not anticipate it. Fix this oversight so the test can run on a LFS
120 system.
121 </para>
122-->
123
124 <para>
125 <parameter>NO_ARLIB=1</parameter>: This make flag disables installing the
126 static library.
127 </para>
128
129 </sect2>
130
131 <sect2 role="configuration">
132 <title>Configuring keyutils</title>
133
134 <sect3 id="keyutils-config">
135 <title>Config Files</title>
136
137 <para>
138 <filename>/etc/request-key.conf</filename> and
139 <filename>/etc/request-key.d/*</filename>
140 </para>
141
142 <indexterm zone="keyutils keyutils-config">
143 <primary sortas="e-etc-request-key.conf">/etc/request-key.conf</primary>
144 </indexterm>
145
146 <indexterm zone="keyutils keyutils-config">
147 <primary sortas="e-etc-request-key.d">/etc/request-key.d/*</primary>
148 </indexterm>
149
150 </sect3>
151
152 </sect2>
153
154 <sect2 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
159 <segtitle>Installed Library</segtitle>
160 <segtitle>Installed Directory</segtitle>
161
162 <seglistitem>
163 <seg>keyctl, key.dns_resolver, and request-key</seg>
164 <seg>libkeyutils.so</seg>
165 <seg>/etc/keyutils,
166 /etc/request-key.d,
167 and /usr/share/keyutils</seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="keyctl">
177 <term><command>keyctl</command></term>
178 <listitem>
179 <para>
180 controls the key management facility with a variety of subcommands
181 </para>
182 <indexterm zone="keyutils keyctl">
183 <primary sortas="b-keyctl">keyctl</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="key.dns_resolver">
189 <term><command>key.dns_resolver</command></term>
190 <listitem>
191 <para>
192 is invoked by <command>request-key</command> on behalf of the
193 kernel when kernel services (such as NFS, CIFS and AFS) need to
194 perform a hostname lookup and the kernel does not have the key
195 cached. It is not ordinarily intended to be called directly
196 </para>
197 <indexterm zone="keyutils key.dns_resolver">
198 <primary sortas="b-key.dns_resolver">key.dns_resolver</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="request-key">
204 <term><command>request-key</command></term>
205 <listitem>
206 <para>
207 is invoked by the kernel when the kernel is asked for a key that it
208 doesn't have immediately available. The kernel creates a temporary
209 key and then calls out to this program to instantiate it. It is
210 not intended to be called directly
211 </para>
212 <indexterm zone="keyutils request-key">
213 <primary sortas="b-request-keyt-key">request-key</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="libkeyutils">
219 <term><filename class="libraryfile">libkeyutils.so</filename></term>
220 <listitem>
221 <para>
222 contains the keyutils library API instantiation
223 </para>
224 <indexterm zone="keyutils libkeyutils">
225 <primary sortas="c-libkeyutils">libkeyutils.so</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 </variablelist>
231
232 </sect2>
233
234</sect1>
Note: See TracBrowser for help on using the repository browser.