fork on uClinux

Shaun Jackman sjackman at gmail.com
Wed May 24 15:54:56 UTC 2006


On 5/24/06, Phil Wilshire <pwilshire at cox.net> wrote:
...
> HI All,
>
> This is how it happens under uClinux..
>
>
> #if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_MMU__)
> #define fork    vfork
> #endif

I grepped the source from subversion of both uClibc and buildroot for
the token __UCLIBC_HAS_MMU__ and found no hits. Where do these three
lines come from?

Is blindly defining fork as vfork even a good idea? It seems sketchy at best.

Cheers,
Shaun



More information about the uClibc mailing list