Re: [RFC][PATCH 2/2] Darwinux: Proper support for digging through the Mach-O load-command table

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kyle Moffett <mrmacman_g4@...>
Cc: LKML Kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>, Benjamin Herrenschmidt <benh@...>, Paul Mackerras <paulus@...>, Mathieu Desnoyers <mathieu.desnoyers@...>
Date: Friday, March 30, 2007 - 2:08 pm

Proper support for digging through the Mach-O load-command table

Uses kernel_read() to carefully iterate through all the Mach-O load
commands and logs their properties to the dmesg buffer.  Partial  
support is
also present for VM setup, but it's lacking a necessary symbol export on
PowerPC (arch_pick_mmap_layout).  The process currently receives a  
SIGKILL
after reading through all the load commands; pending completion of the
memory-mapping and setup code.

Signed-off-by: Kyle Moffett <mrmacman_g4@mac.com>
---
fs/mach-o/binfmt.c   |  258 +++++++++++++++++++++++----------
fs/mach-o/cpus.h     |   49 ++++---
fs/mach-o/files.h    |   67 +++++----
fs/mach-o/loadcmds.h |  389 ++++++++++++++++++++++++++++++++++++++++++ 
++++++++
4 files changed, 640 insertions(+), 123 deletions(-)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH 2/2] Darwinux: Proper support for digging t..., Kyle Moffett, (Fri Mar 30, 2:08 pm)