Re: [RFC] POSIX personality

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 25 May 2002 01:38:37 +0100 (BST)


> 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/