On Wed, Jul 18, 2007 at 09:13:08PM -0400, Daniel Gryniewicz wrote:
> Actually, the Gentoo headers are not particularly close to the kernel
> headers.  They are heavily "sanitized", meaning that all kinds of things
> that userspace is "not supposed to use" are removed.  This makes it very
> hard for things like UML, that are heavily tied to the kernel, to build.

UML isn't heavily tied to the kernel in the way that you mean, I think.

However, it does explore some obscure parts of the API.  For example,
the elimination of user.h makes it impossible to use
PTRACE_SETFP[X]REGS, as there is no way to tell what size buffer
should be passed in.

I'm all for minimizing the headers exported to userspace (and have
made a small contribution in that direction - ptrace-abi.h).  I'm
happy to make UML stop using things it shouldn't.  At the same time,
it should be possible to use the full userspace API.

                                Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to