public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@redhat.com>
To: Evgeny Morozov <evgeny+libclist@loop54.com>, libc-help@sourceware.org
Subject: Re: Patching glibc 2.27 on Ubuntu
Date: Thu, 25 Nov 2021 12:24:09 -0500	[thread overview]
Message-ID: <174ee8fb-70d4-a24e-ba36-a232d232090a@redhat.com> (raw)
In-Reply-To: <CAAi0WvH78RGyUxvbbMJQZm_ZMTRSWS8yGuHW5DpQ1vvS_-6fXg@mail.gmail.com>

On 11/25/21 03:53, Evgeny Morozov wrote:
> Hi,
> 
> I'd like to apply a patch from
> https://sourceware.org/bugzilla/show_bug.cgi?id=25847 (the "mitigation
> patch": https://sourceware.org/bugzilla/attachment.cgi?id=12484) to many
> x64 systems running Ubuntu 18.04. They should all have the same version of
> the libc6 package installed. Is it possible to build it on one system and
> just copy the affected binaries to all of them, or do I have to build and
> install it on each system? If I can copy just a few binaries, should I copy
> only libpthread.so, libc.so, both, something else?

You need to integrate the patch into the Ubuntu version of glibc shipping with the distribution.

You should take the patch, and add it to the Ubuntu glibc package as a patch and build the package
using dpkg-buildpackage or a build service.

It is not recommended to build your own glibc and install it into your distribution.

-- 
Cheers,
Carlos.


      reply	other threads:[~2021-11-25 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25  8:53 Evgeny Morozov
2021-11-25 17:24 ` Carlos O'Donell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174ee8fb-70d4-a24e-ba36-a232d232090a@redhat.com \
    --to=carlos@redhat.com \
    --cc=evgeny+libclist@loop54.com \
    --cc=libc-help@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).