]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Allow clone with CLONE_VFORK and no CLONE_VM
authorTom Hughes <tom@compton.nu>
Thu, 20 Feb 2020 09:14:24 +0000 (09:14 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 20 Feb 2020 09:14:24 +0000 (09:14 +0000)
commit3e11902ce28ff43cff679bf2453c597d568fde8f
tree598a1496c0de5bcf1191290886ea338f9ed323e8
parentcc9cb5d42ee978f29373744552ae04e8909ac0dd
Allow clone with CLONE_VFORK and no CLONE_VM

The CLONE_VFORK flag causes the parent to suspend until the child
exits or execs so without the memory sharing CLONE_VM would give
this is really closer to fork but we convert vfork to fork by
removing CLONE_VM anyway so there is no reason not to allow this.

Fixes BZ#417906
NEWS
coregrind/m_syswrap/syswrap-linux.c