|
Message-ID: <20130324212811.2EC6.0@paddy.troja.mff.cuni.cz> Date: Sun, 24 Mar 2013 21:35:25 +0100 (CET) From: Pavel Kankovsky <peak@...o.troja.mff.cuni.cz> To: owl-dev@...ts.openwall.com Subject: Re: strace On Sat, 23 Mar 2013, Dmitry V. Levin wrote: > Who could suppose at the time of adding PTRACE_GETREGS support that the > structure returned by PTRACE_GETREGS on 2.6.18-based i386 kernel is not > "struct pt_regs" from kernel's <asm/ptrace.h> but > "struct user_regs_struct" from libc's <sys/user.h>? Well, the description of PTRACE_GETREGS in ptrace(2) says "See <linux/user.h> for information on the format of this data." Moreover, struct user_regs_struct is the format you'd get from PTRACE_PEEKUSER if you enumerated all relevant offsets. -- Pavel Kankovsky aka Peak / Jeremiah 9:21 \ "For death is come up into our MS Windows(tm)..." \ 21st century edition /
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.