]> git.eshelyaron.com Git - emacs.git/commit
Work around AddressSanitizer bug with vfork
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 May 2017 17:58:11 +0000 (10:58 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 May 2017 17:59:02 +0000 (10:59 -0700)
commit709259dcc501ef991991a35a6ffb2aef02a62c60
treed95fddd7d935d8ecc12409ae3c3f7afe1bfa38b1
parent937ff1a0af1813875f851987ca5c4ac833ca3c97
Work around AddressSanitizer bug with vfork

Problem reported by Jim Meyering in:
http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00246.html
* src/conf_post.h (vfork) [ADDRESS_SANITIZER]: Define to fork.
Unfortunately with the AddressSanitizer in Fedora 25 x86-64, the
vforked child messes up the parent’s shadow memory.  This is too
bad, as we’d rather have AddressSanitizer catch memory-access bugs
related to vfork.
src/conf_post.h