lkml.org 
[lkml]   [2006]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-12-16 08:53    [W:0.068 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site