source: BOOK/final-system/common/libcap.xml@ baf8424

clfs-3.0.0-systemd systemd
Last change on this file since baf8424 was d1f79ab, checked in by Chris Staub <chris@…>, 11 years ago

Updates to package install lists

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[a1a1cf0]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
8<sect1 id="ch-system-libcap" role="wrap">
9 <?dbhtml filename="libcap.html"?>
10
11 <title>Libcap-&libcap-version;</title>
12
13 <indexterm zone="ch-system-libcap">
14 <primary sortas="a-Libcap">Libcap</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>Libcap is a library for getting and setting POSIX.1e
21 (formerly POSIX 6) draft 15 capabilities.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Libcap</title>
27
28 <para os="a">Compile the package:</para>
29
30<screen os="b"><userinput>make</userinput></screen>
31
32 <para os="c">This package does not come with a test suite.</para>
33
34 <para os="d">Install the package:</para>
35
[6c258e2]36<screen os="e"><userinput>make RAISE_SETFCAP=no install
[a1a1cf0]37chmod -v 755 /lib/libcap.so.&libcap-version;
[d93a24a]38ln -sfv ../../lib/$(readlink /lib/libcap.so) /usr/lib/libcap.so
[6c258e2]39rm -v /lib/libcap.so
[a1a1cf0]40mv -v /lib/libcap.a /usr/lib</userinput></screen>
41
42 </sect2>
43
44 <sect2 id="contents-libcap" role="content">
45 <title>Contents of Libcap</title>
46
47 <segmentedlist>
48 <segtitle>Installed programs</segtitle>
49 <segtitle>Installed libraries</segtitle>
50
51 <seglistitem>
[c8a83d8]52 <seg>capsh, getcap, getpcaps, setcap</seg>
[a1a1cf0]53 <seg>libcap.[a,so]</seg>
54 </seglistitem>
55 </segmentedlist>
56
57 <variablelist>
58 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
59 <?dbfo list-presentation="list"?>
60 <?dbhtml list-presentation="table"?>
61
62 <varlistentry id="capsh">
63 <term><command>capsh</command></term>
64 <listitem>
65 <para>Capability support and use can be explored and constrained
66 with this tool</para>
67 <indexterm zone="ch-system-libcap capsh">
68 <primary sortas="b-capsh">capsh</primary>
69 </indexterm>
70 </listitem>
71 </varlistentry>
72
[d1f79ab]73 <varlistentry id="getcap">
74 <term><command>getcap</command></term>
[a1a1cf0]75 <listitem>
[d1f79ab]76 <para>Examines file capabilities</para>
77 <indexterm zone="ch-system-libcap getcap">
78 <primary sortas="b-getcap">getcap</primary>
[a1a1cf0]79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="getpcaps">
84 <term><command>getpcaps</command></term>
85 <listitem>
86 <para>Displays the capabilities on the queried process(es)</para>
87 <indexterm zone="ch-system-libcap getpcaps">
88 <primary sortas="b-getpcaps">getpcaps</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
[d1f79ab]93 <varlistentry id="setcap">
94 <term><command>setcap</command></term>
[a1a1cf0]95 <listitem>
[d1f79ab]96 <para>Sets file capabilities</para>
97 <indexterm zone="ch-system-libcap setcap">
98 <primary sortas="b-setcap">setcap</primary>
[a1a1cf0]99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="libcap">
104 <term><filename class="libraryfile">libcap</filename></term>
105 <listitem>
106 <para>Library for setting and clearing POSIX.1e capabilities</para>
107 <indexterm zone="ch-system-libcap libcap">
108 <primary sortas="c-libcap">libcap</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 </variablelist>
114
115 </sect2>
116
117</sect1>
Note: See TracBrowser for help on using the repository browser.