Re: [RFC] POSIX personality

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri May 24 2002 - 19:38:37 EST


> It seems to me that the biggest issue here is maintaining
> POSIX behavior without having to modify application source
> every time the flag set changes.

I don't think that is a big problem. Think about how it evolves over time

App calls pthread_foo libpthreads/ngpt does all the work by emulation

        Add CLONE_somefoo

App calls pthread_foo libpthreads/ngpt does all the work by emulation
                        and doesnt set the flag

        New libpthreads

App calls pthread_foo libpthreads/ngpt uses the kernel assists

The behaviour is good - it means that the new kernel/old library setup won't
break the emulation gunge by suddenely providing precise semantics itself
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:14 EST