All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Daniel Gryniewicz <dang@gentoo.org>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] ARCH=um SUBARCH=i386 breakage?
Date: Wed, 18 Jul 2007 21:25:25 -0400	[thread overview]
Message-ID: <20070719012525.GA12468@c2.user-mode-linux.org> (raw)
In-Reply-To: <1184807588.7782.1.camel@athena.fprintf.net>

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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2007-07-19  1:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 11:06 [uml-devel] ARCH=um SUBARCH=i386 breakage? Antoine Martin
2007-07-13 12:03 ` Antoine Martin
2007-07-13 15:57   ` Jeff Dike
2007-07-13 17:41     ` Antoine Martin
2007-07-13 18:44       ` Jeff Dike
2007-07-14  9:23         ` Antoine Martin
2007-07-14 12:00           ` Jeff Dike
2007-07-15 17:08             ` Antoine Martin
2007-07-19  1:13               ` Daniel Gryniewicz
2007-07-19  1:25                 ` Jeff Dike [this message]
2007-07-19 19:54                 ` Antoine Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070719012525.GA12468@c2.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=dang@gentoo.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.