Even after patching get_nprocs in glibc (see commit 077f06a408739eabc4be8a2d7de1772c95ea4e24). It is still possible to get memory corruptions caused by mis-matching malloc/free from different linker namespaces. It should be possible to patch glibc, then again it might worth making reverie running tracee with different glibc versions other than system glibc. The difficult part is how can we resolve ld-linux.so to the new glibc as easy as possible.
Even after patching
get_nprocs
in glibc (see commit 077f06a408739eabc4be8a2d7de1772c95ea4e24). It is still possible to get memory corruptions caused by mis-matching malloc/free from different linker namespaces. It should be possible to patch glibc, then again it might worth makingreverie
running tracee with different glibc versions other than system glibc. The difficult part is how can we resolve ld-linux.so
to the new glibc as easy as possible.glibc bugzilla links:
Bug 24776 Bug 24773