Re: [PATCH v3] Add support for Linux/no-mmu with vfork

2009-10-07 Thread Dmitry V. Levin
On Wed, Oct 07, 2009 at 07:53:54PM -0400, Mike Frysinger wrote: > On Wednesday 07 October 2009 19:35:02 Dmitry V. Levin wrote: > > On Wed, Oct 07, 2009 at 04:10:53AM -0400, Mike Frysinger wrote: > > > Systems that lack a MMU cannot use fork() to create the child process. > > > First we detect if th

Re: [PATCH v3] Add support for Linux/no-mmu with vfork

2009-10-07 Thread Mike Frysinger
On Wednesday 07 October 2009 19:35:02 Dmitry V. Levin wrote: > On Wed, Oct 07, 2009 at 04:10:53AM -0400, Mike Frysinger wrote: > > Systems that lack a MMU cannot use fork() to create the child process. > > First we detect if the toolchain has the fork() symbol and if it does > > not, we just always

Re: [PATCH v3] Add support for Linux/no-mmu with vfork

2009-10-07 Thread Dmitry V. Levin
On Wed, Oct 07, 2009 at 04:10:53AM -0400, Mike Frysinger wrote: > Systems that lack a MMU cannot use fork() to create the child process. > First we detect if the toolchain has the fork() symbol and if it does not, > we just always use vfork(). If it does, then we try that first. If it > fails due

[PATCH v3] Add support for Linux/no-mmu with vfork

2009-10-07 Thread Mike Frysinger
Systems that lack a MMU cannot use fork() to create the child process. First we detect if the toolchain has the fork() symbol and if it does not, we just always use vfork(). If it does, then we try that first. If it fails due to ENOSYS, we fall back to using vfork(). Since fork() gets used in a