This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [BZ #18433] Check file access/existence before forking.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: navid Rahimi <rahimi dot nv at gmail dot com>
- Cc: Joseph Myers <joseph at codesourcery dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 11 Sep 2015 14:18:47 -0700 (PDT)
- Subject: Re: [PATCH] [BZ #18433] Check file access/existence before forking.
- Authentication-results: sourceware.org; auth=none
- References: <55F19819 dot 3010601 at gmail dot com> <20150911182249 dot GD640 at vapier> <CAOUBrm3me5L+9XxRz5-a+vGURKzD4Z9DxJWfx2GpSjL6x8ywhw at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1509111955160 dot 14056 at digraph dot polyomino dot org dot uk> <CAOUBrm3Y9F6SeQFpYCuB-_s9Bbe8Vkaf5gkTMBBbgncOhvJ1wQ at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1509112059590 dot 14056 at digraph dot polyomino dot org dot uk> <CAOUBrm0MG=F1i5nE=hLHRUGBbmSAn4-8gZejQUjHO3NoWdRAjw at mail dot gmail dot com>
> Why it is trying to limit usage of vfork ?
I think that's just being conservative. For each modification that can be
applied in the child, you need to examine it carefully and figure out
whether it is in fact (or can be made to be) compatible with vfork.