Re: [XenAccess-devel] Struct offsets
Status: Beta
Brought to you by:
bdpayne
From: Bryan D. P. <br...@th...> - 2007-08-20 19:23:26
|
Ah yes, sorry about that. This should be the offset to the start_code field in the mm_struct. The variable is used in linux_memory.c to copy information into the taskaddr struct. I'll update the comment in xa_private.h. Thanks, bryan On Aug 20, 2007, at 2:26 PM, Hajime Inoue wrote: > I'm trying to calculate the offsets in xaprivate.h > > The last offset, XALINUX_ADDR_OFFSET 32 * 4 is commented as > mm_struct->pgd, > which is the comment of the line above. Can anyone tell me what > it's supposed to be? > (I don't think it actually matters right now, because it's not > accessed anywhere > else, AFAIK, but I'm guessing it will be). > > Thanks, > -Jim - Bryan D. Payne Graduate Student, Computer Science Georgia Tech Information Security Center http://www.bryanpayne.org |