# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-06-17 12:44+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Content of:
#: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:14 #, no-wrap msgid "&libcap-url;" msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:12 msgid "" "libcap " "&libcap-version; " msgstr "" #. type: Content of: #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:17 msgid "Libcap-&libcap-version;" msgstr "" #. type: Content of: <sect1><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:20 msgid "Libcap" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:26 msgid "" "The Libcap package implements the user-space interfaces to the POSIX 1003.1e " "capabilities available in Linux kernels. These capabilities are a " "partitioning of the all powerful root privilege into a set of distinct " "privileges." msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:32 msgid "&buildtime;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:33 msgid "&diskspace;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:36 msgid "&libcap-fin-sbu;" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:37 msgid "&libcap-fin-du;" msgstr "" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:44 msgid "Installation of Libcap" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:46 msgid "Prevent a static library from being installed:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:48 #, no-wrap msgid "" "<userinput remap=\"pre\">sed -i '/install.*STACAPLIBNAME/d' " "libcap/Makefile</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:50 msgid "Compile the package:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:52 #, no-wrap msgid "<userinput remap=\"make\">make lib=lib</userinput>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:55 msgid "The meaning of the make option:" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:58 msgid "<parameter>lib=lib</parameter>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:60 msgid "" "This parameter sets the library directory to <filename>/lib</filename> " "rather than <filename>/lib64</filename> on x86_64. It has no effect on x86." msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:68 msgid "To test the results, issue:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:70 #, no-wrap msgid "<userinput remap=\"test\">make test</userinput>" msgstr "" #. type: Content of: <sect1><sect2><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:72 msgid "Install the package and do some cleanup:" msgstr "" #. type: Content of: <sect1><sect2><screen> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:74 #, no-wrap msgid "" "<userinput remap=\"install\">make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfig " "install\n" "chmod -v 755 /lib/libcap.so.&libcap-version;\n" "mv -v /lib/libpsx.a /usr/lib\n" "rm -v /lib/libcap.so\n" "ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so</userinput>" msgstr "" #. type: Content of: <sect1><sect2><title> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:83 msgid "Contents of Libcap" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:86 msgid "Installed programs" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:87 msgid "Installed library" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:90 msgid "capsh, getcap, getpcaps, and setcap" msgstr "" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:91 msgid "libcap.so and libpsx.a" msgstr "" #. type: Content of: <sect1><sect2><variablelist><bridgehead> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:96 msgid "Short Descriptions" msgstr "" #. type: Content of: <sect1><sect2><variablelist> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:97 msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:101 msgid "<command>capsh</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:103 msgid "A shell wrapper to explore and constrain capability support" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:105 msgid "capsh" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:111 msgid "<command>getcap</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:113 msgid "Examines file capabilities" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:115 msgid "getcap" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:121 msgid "<command>getpcaps</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:123 msgid "Displays the capabilities on the queried process(es)" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:125 msgid "getpcaps" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:131 msgid "<command>setcap</command>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:133 msgid "Sets file capabilities" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:135 msgid "setcap" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:141 msgid "<filename class=\"libraryfile\">libcap</filename>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:143 msgid "Contains the library functions for manipulating POSIX 1003.1e capabilities" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:146 msgid "libcap" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:152 msgid "<filename class=\"libraryfile\">libpsx</filename>" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:154 msgid "" "Contains functions to support POSIX semantics for syscalls associated with " "the pthread library" msgstr "" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> #: /home/xry111/svn-repos/LFS-BOOK/chapter08/libcap.xml:157 msgid "libpsx" msgstr ""