aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-02-17 18:32:33 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-02-17 19:39:07 +0800
commitb7daa52a5caca192864e6f35c4acff9de6d76046 (patch)
treec3cdaaeb8326aded8e7602f894e613faa70d58b3
parentd6f5aab3810b41a05e8ae7327c706f4a108f94c7 (diff)
glibc: update desc for content
Add libc_malloc_check.so (it's like libmcheck.a, but should be used with LD_PRELOAD). Add description for libmvec. "libnss" -> "libnss_*", and reword the description.
-rw-r--r--chapter08/glibc.xml33
1 files changed, 28 insertions, 5 deletions
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index 76dcb6ed1..fdb9cf544 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -487,7 +487,7 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
zdump, and zic</seg>
<seg>ld-linux-x86-64.so.2, ld-linux.so.2,
libBrokenLocale.{a,so}, libanl.{a,so},
- libc.{a,so}, libc_nonshared.a,
+ libc.{a,so}, libc_nonshared.a, libc_malloc_debug.so,
libcrypt.{a,so}, libdl.{a,so.2}, libg.a, libm.{a,so},
libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1,
libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
@@ -782,6 +782,16 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry id="libc_malloc_debug">
+ <term><filename class="libraryfile">libc_malloc_debug</filename></term>
+ <listitem>
+ <para>Turns on memory allocation checking when preloaded</para>
+ <indexterm zone="ch-system-glibc libc_malloc_debug">
+ <primary sortas="c-libc_malloc_debug">libc_malloc_debug</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="libcrypt">
<term><filename class="libraryfile">libcrypt</filename></term>
<listitem>
@@ -825,6 +835,17 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry id="libmvec">
+ <term><filename class="libraryfile">libmvec</filename></term>
+ <listitem>
+ <para>The vector math library, linked in as needed
+ when <filename class='libraryfile'>libm</filename> is used</para>
+ <indexterm zone="ch-system-glibc libmvec">
+ <primary sortas="c-libmvec">libmvec</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="libmcheck">
<term><filename class="libraryfile">libmcheck</filename></term>
<listitem>
@@ -857,13 +878,15 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
</varlistentry>
<varlistentry id="libnss">
- <term><filename class="libraryfile">libnss</filename></term>
+ <term><filename class="libraryfile">libnss_*</filename></term>
<listitem>
- <para>The Name Service Switch libraries, containing functions for
+ <para>The Name Service Switch modules, containing functions for
resolving host names, user names, group names, aliases, services,
- protocols, etc.</para>
+ protocols, etc. Loaded by
+ <filename class='libraryfile'>libc</filename> according to the
+ configuration in <filename>/etc/nsswitch.conf</filename></para>
<indexterm zone="ch-system-glibc libnss">
- <primary sortas="c-libnss">libnss</primary>
+ <primary sortas="c-libnss">libnss_*</primary>
</indexterm>
</listitem>
</varlistentry>