This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: system and popen fail in case of big application
- From: Zack Weinberg <zackw at panix dot com>
- To: melnikov dot sergey dot v at gmail dot com
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sun, 9 Sep 2018 18:47:17 -0400
- Subject: Re: system and popen fail in case of big application
- References: <CAD_cgayCbmsmXY9PEt+bn1VYiGj=B_oSVMZAvt+6vOdJgoG0tQ@mail.gmail.com> <CAKCAbMgVg8RyKeEZi40EL2CG=V859RYS541YGMHS4dyTp_mVWg@mail.gmail.com>
On Sun, Sep 9, 2018 at 6:44 PM Zack Weinberg <zackw@panix.com> wrote:
> On Sun, Sep 9, 2018 at 6:16 PM Sergey Melnikov
> <melnikov.sergey.v@gmail.com> wrote:
> > If so, I may implement and contribute this to glibc.
>
> What would be worthwhile is to change popen and system so that they
> internally use *vfork*, on systems where vfork is not the same as fork.
I meant to say explicitly that if you write patches that do this, we
will definitely consider them for inclusion. However, you're going to
need to file a copyright assignment with the FSF. This can be slow,
so you should get the process started immediately. See
https://sourceware.org/glibc/wiki/Contribution%20checklist#FSF_copyright_Assignment
.
zw