[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20061215125335.GB4551@ucw.cz>
Date: Fri, 15 Dec 2006 12:53:35 +0000
From: Pavel Machek <pavel@...e.cz>
To: Kyle Moffett <mrmacman_g4@....com>
Cc: Linus Torvalds <torvalds@...l.org>,
LKML Kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>
Subject: Re: Mach-O binary format support and Darwin syscall personality [Was: uts banner changes]
Hi!
> So I guess all I have to do is:
> (A) Write a bunch of new syscall handlers taking
> arguments of the same types as the Darwin syscall
> handlers,
> (B) Figure out how to switch tables depending on the
> "syscall personality" of "current"
> (C) Figure out how to set the "syscall personality"
> of "current" from my Mach-O binary format module.
>
> (A) seems fairly straightforward, if unusually tedious
> and error- prone, but I'm totally in the dark for (B)
> and (C). Any help would be much appreciated.
try strace osx_binary. If syscall interface is similar enough, perhaps
it is possible to do it with ptrace() :-).
Pavel
--
Thanks for all the (sleeping) penguins.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists