Re: [uml-devel] Re: [PATCH 4/9] UML - Better diagnostics for broken configs
From: Rob Landley
Date: Sat Jan 07 2006 - 22:54:54 EST
On Saturday 07 January 2006 09:12, Jan Engelhardt wrote:
> >The skas vs tt distinction is the address space part of this. How we
> > nullify system calls is separate. That's the PTRACE_SYSCALL vs
> > PTRACE_SYSEMU (which is now in mainline) thing.
>
> ...
> So there is no way to get UML compile on non-Linux.
Not out of the box, no. You need some equivalent debugging facility, but
that's not too high a barrier. It's really that there's no way for a
userspace process to fiddle around with the MMU the way an OS wants to,
unless you A) put hooks in the OS, or B) have multiple processes with
different memory contexts, which means debugging hooks if you want one thread
to intercept the syscalls made by another thread.
There have been occasional attempts at doing this, by the way. (If I had
gotten a mac mini I was going to give it a try, but about two _hours_ before
I had scheduled an extra long lunch hour to go visit the Apple store in the
barton creek mall, I heard about Jobs' announcement of the switchover to
Intel processors, so I didn't. Not like I really _need_ another todo item
that's going to wind up taking up six months of my free time. Just use
qemu...)
> Jan Engelhardt
Rob
--
Steve Ballmer: Innovation! Inigo Montoya: You keep using that word.
I do not think it means what you think it means.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/