aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/libcap.xml
diff options
context:
space:
mode:
authorChris Staub <chris@linuxfromscratch.org>2014-06-28 05:52:16 +0000
committerChris Staub <chris@linuxfromscratch.org>2014-06-28 05:52:16 +0000
commitaa96607722d50eba6981b772394f93f40fb04502 (patch)
treee3c26d35436fcbf300ad8e23f279da648d6514c3 /chapter06/libcap.xml
parentf4653dd1facc81ed2ebecb50365cdd9af94c0b87 (diff)
Added command explanation for libcap
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10585 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/libcap.xml')
-rw-r--r--chapter06/libcap.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter06/libcap.xml b/chapter06/libcap.xml
index 63e9d0017..ca0e3e805 100644
--- a/chapter06/libcap.xml
+++ b/chapter06/libcap.xml
@@ -54,6 +54,20 @@
<screen><userinput remap="install">make RAISE_SETFCAP=no prefix=/usr install
chmod -v 755 /usr/lib/libcap.so</userinput></screen>
+ <variablelist>
+ <title>The meaning of the make option:</title>
+
+ <varlistentry>
+ <term><parameter>RAISE_SETFCAP=no</parameter></term>
+ <listitem>
+ <para>This parameter skips trying to use <command>setcap</command>
+ on itself. This avoids an installation error if the kernel or file
+ system does not support extended capabilities.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
<para>The shared library needs to be moved to
<filename class="directory">/lib</filename>, and as a result the
<filename class="extension">.so</filename> file in