Ignore:
Timestamp:
12/05/2023 05:12:55 AM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
00de269
Parents:
6b6a1b9 (diff), dc8572f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/glibc.xml

    r6b6a1b9 r73d91ac  
    5151<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    5252
    53     <para>Now fix a regression causing the posix_memalign() function
    54     to be very slow in some conditions:</para>
    55 
    56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-memalign-patch;</userinput></screen>
     53    <para>Now fix two security vulnerabilities and a regression causing the
     54    posix_memalign() function very slow in some conditions:</para>
     55
     56<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-fixes-patch;</userinput></screen>
    5757
    5858    <para>The Glibc documentation recommends building Glibc
     
    7575             --enable-stack-protector=strong          \
    7676             --with-headers=/usr/include              \
     77             --disable-nscd                           \
    7778             libc_cv_slibdir=/usr/lib</userinput></screen>
    7879
     
    112113          <para>This option tells the build system where to find the
    113114          kernel API headers.</para>
     115        </listitem>
     116      </varlistentry>
     117
     118      <varlistentry>
     119        <term><parameter>--disable-nscd</parameter></term>
     120        <listitem>
     121          <para>Do not build the name service cache daemon which is no
     122          longer used.</para>
    114123        </listitem>
    115124      </varlistentry>
     
    207216
    208217<screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen>
    209 
     218<!--
    210219    <para>Install the configuration file and runtime directory for
    211220    <command>nscd</command>:</para>
     
    219228    <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
    220229install -v -Dm644 ../nscd/nscd.service /usr/lib/systemd/system/nscd.service</userinput></screen>
    221 
     230-->
    222231    <para>Next, install the locales that can make the system respond in a
    223232    different language.  None of these locales are required, but if some of them
     
    321330    following:</para>
    322331
    323 <screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
     332<screen revision='sysv'><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
    324333<literal># Begin /etc/nsswitch.conf
    325334
     
    329338
    330339hosts: files dns
     340networks: files
     341
     342protocols: files
     343services: files
     344ethers: files
     345rpc: files
     346
     347# End /etc/nsswitch.conf</literal>
     348EOF</userinput></screen>
     349
     350<screen revision='systemd'><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
     351<literal># Begin /etc/nsswitch.conf
     352
     353passwd: files systemd
     354group: files systemd
     355shadow: files systemd
     356
     357hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
    331358networks: files
    332359
     
    481508        ldd, lddlibc4,
    482509        ld.so (symlink to ld-linux-aarch64[_be].so.1),
    483         locale, localedef, makedb, mtrace, nscd,
     510        locale, localedef, makedb, mtrace,
    484511        pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
    485512        zdump, and zic</seg>
     
    501528        /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
    502529        /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
    503         /var/cache/nscd, and /var/lib/nss_db</seg>
     530        and /var/lib/nss_db</seg>
    504531      </seglistitem>
    505532    </segmentedlist>
     
    631658          <indexterm zone="ch-system-glibc mtrace">
    632659            <primary sortas="b-mtrace">mtrace</primary>
    633           </indexterm>
    634         </listitem>
    635       </varlistentry>
    636 
    637       <varlistentry id="nscd">
    638         <term><command>nscd</command></term>
    639         <listitem>
    640           <para>A daemon that provides a cache for the most common name
    641           service requests</para>
    642           <indexterm zone="ch-system-glibc nscd">
    643             <primary sortas="b-nscd">nscd</primary>
    644660          </indexterm>
    645661        </listitem>
Note: See TracChangeset for help on using the changeset viewer.