[CRIU] core: Implement xgetpid()

Cyrill Gorcunov gorcunov at gmail.com
Tue Mar 28 02:08:59 PDT 2017


On Tue, Mar 28, 2017 at 12:04:46PM +0300, Kirill Tkhai wrote:
> On 28.03.2017 04:02, Andrei Vagin wrote:
> > Hi All,
> > 
> > We have to resurrect this patch. The problem exists for all who use
> > glibc 2.24. For example, it fails for me too (fedora 25).
> > 
> > https://sourceware.org/bugzilla/show_bug.cgi?id=19957
> > 
> > What do you think if we will not add a new function and will just
> > overwrite the existing getpid()?
> 
> We may overwrite it in criu-dev only for a while

Yes, getpid() Andrew suggested should do the trick.
(Drop my comment about gettid)


More information about the CRIU mailing list