[eeb29511] | 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 |
|
---|
[04e597a] | 7 | <!ENTITY talloc-download-http "https://www.samba.org/ftp/talloc/talloc-&talloc-version;.tar.gz">
|
---|
[1c73261] | 8 | <!ENTITY talloc-download-ftp " ">
|
---|
[1a53c84] | 9 | <!ENTITY talloc-md5sum "b0f40831552f8dca770048f7040fefe1">
|
---|
| 10 | <!ENTITY talloc-size "664 KB">
|
---|
[65bdd29] | 11 | <!ENTITY talloc-buildsize "11 MB (with tests)">
|
---|
[7aa91c69] | 12 | <!ENTITY talloc-time "0.3 SBU (with tests)">
|
---|
[eeb29511] | 13 | ]>
|
---|
| 14 |
|
---|
[880c568] | 15 | <sect1 id="talloc" xreflabel="Talloc-&talloc-version;">
|
---|
[eeb29511] | 16 | <?dbhtml filename="talloc.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[880c568] | 19 | <title>Talloc-&talloc-version;</title>
|
---|
[eeb29511] | 20 |
|
---|
| 21 | <indexterm zone="talloc">
|
---|
[880c568] | 22 | <primary sortas="a-Talloc">Talloc</primary>
|
---|
[eeb29511] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[c7ce750a] | 26 | <title>Introduction to Talloc</title>
|
---|
[eeb29511] | 27 |
|
---|
[c7ce750a] | 28 | <para>
|
---|
| 29 | <application>Talloc</application> provides a hierarchical, reference
|
---|
| 30 | counted memory pool system with destructors. It is the core memory
|
---|
| 31 | allocator used in <application>Samba</application>.
|
---|
| 32 | </para>
|
---|
[eeb29511] | 33 |
|
---|
[a73fc762] | 34 | &lfs120_checked;
|
---|
[7b74537e] | 35 |
|
---|
[eeb29511] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[c7ce750a] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&talloc-download-http;"/>
|
---|
| 41 | </para>
|
---|
[eeb29511] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[c7ce750a] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&talloc-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[eeb29511] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[c7ce750a] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &talloc-md5sum;
|
---|
| 51 | </para>
|
---|
[eeb29511] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[c7ce750a] | 54 | <para>
|
---|
| 55 | Download size: &talloc-size;</para>
|
---|
[eeb29511] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[c7ce750a] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &talloc-buildsize;
|
---|
| 60 | </para>
|
---|
[eeb29511] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[c7ce750a] | 63 | <para>
|
---|
| 64 | Estimated build time: &talloc-time;
|
---|
| 65 | </para>
|
---|
[eeb29511] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[c7ce750a] | 69 | <bridgehead renderas="sect3">Talloc Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para role="optional">
|
---|
| 73 | <xref linkend="DocBook"/>,
|
---|
| 74 | <xref linkend="docbook-xsl"/> and
|
---|
[03bb997] | 75 | <xref linkend="libxslt"/> (To generate man pages),
|
---|
[1a53c84] | 76 | <xref linkend="gdb"/>,
|
---|
[03bb997] | 77 | <xref linkend="git"/>,
|
---|
[7aa91c69] | 78 | <xref linkend="libnsl"/>,
|
---|
| 79 | <xref linkend="libtirpc"/>,
|
---|
| 80 | <xref linkend="valgrind"/>, and
|
---|
| 81 | <xref linkend="xfsprogs"/>
|
---|
[03bb997] | 82 | <!-- These are all looked for at build time, but might not actually be used.-->
|
---|
[c7ce750a] | 83 | </para>
|
---|
| 84 |
|
---|
[eeb29511] | 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
[c7ce750a] | 88 | <title>Installation of Talloc</title>
|
---|
[eeb29511] | 89 |
|
---|
[c7ce750a] | 90 | <para>
|
---|
| 91 | Install <application>Talloc</application> by running the following
|
---|
| 92 | commands:
|
---|
| 93 | </para>
|
---|
[eeb29511] | 94 |
|
---|
[386756fd] | 95 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[eeb29511] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
[c7ce750a] | 98 | <para>
|
---|
[8558044] | 99 | To check the results, issue <command>make check</command>.
|
---|
[c7ce750a] | 100 | </para>
|
---|
[eeb29511] | 101 |
|
---|
[c7ce750a] | 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
[eeb29511] | 105 |
|
---|
| 106 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
[4a2b534] | 109 | <!--
|
---|
[f10d931] | 110 | <sect2 role="commands">
|
---|
| 111 | <title>Command Explanations</title>
|
---|
| 112 |
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
[4a2b534] | 115 | -->
|
---|
[f10d931] | 116 |
|
---|
[eeb29511] | 117 | <sect2 role="content">
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
| 120 | <segmentedlist>
|
---|
[c3c56b2] | 121 | <segtitle>Installed Programs</segtitle>
|
---|
[eeb29511] | 122 | <segtitle>Installed Libraries</segtitle>
|
---|
[c3c56b2] | 123 | <segtitle>Installed Directories</segtitle>
|
---|
[eeb29511] | 124 |
|
---|
| 125 | <seglistitem>
|
---|
[c3c56b2] | 126 | <seg>
|
---|
| 127 | None
|
---|
| 128 | </seg>
|
---|
[c7ce750a] | 129 | <seg>
|
---|
[d94bd7f4] | 130 | libpytalloc-util.&python3-lib-suffix;.so,
|
---|
[1a53c84] | 131 | libtalloc.so, and
|
---|
| 132 | talloc.&python3-lib-suffix;.so (Python 3 Module)
|
---|
[c7ce750a] | 133 | </seg>
|
---|
[c3c56b2] | 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
[eeb29511] | 137 | </seglistitem>
|
---|
| 138 | </segmentedlist>
|
---|
| 139 |
|
---|
| 140 | <variablelist>
|
---|
| 141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 142 | <?dbfo list-presentation="list"?>
|
---|
| 143 | <?dbhtml list-presentation="table"?>
|
---|
| 144 |
|
---|
[c7ce750a] | 145 | <varlistentry id="libtalloc">
|
---|
| 146 | <term><filename class="libraryfile">libtalloc.so</filename></term>
|
---|
[eeb29511] | 147 | <listitem>
|
---|
[c7ce750a] | 148 | <para>
|
---|
[614fce8e] | 149 | contains a replacement for the <application>Glibc</application>
|
---|
[4c24eb0a] | 150 | malloc function
|
---|
[c7ce750a] | 151 | </para>
|
---|
| 152 | <indexterm zone="talloc libtalloc">
|
---|
| 153 | <primary sortas="c-libtalloc">libtalloc.so</primary>
|
---|
[eeb29511] | 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | </variablelist>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | </sect1>
|
---|