Re: Mach-O binary format support and Darwin syscall personality [Was: uts banner changes]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux