lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 24 Mar 2009 21:14:02 -0400
From:	Jeff Dike <jdike@...toit.com>
To:	Michael Riepe <michael.riepe@...glemail.com>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: Where did struct user_regs_struct{,32} go?

On Wed, Mar 25, 2009 at 12:21:32AM +0100, Michael Riepe wrote:
> Am I supposed to roll my own
> when I want to ptrace(PTRACE_GETREGS) the registers of a 32-bit process
> from 64-bit land?

Shouldn't the kernel convert the 32-bit registers into a 64-bit
user_regs_struct for GETREGS and convert them back for SETREGS?

				Jeff

-- 
Work email - jdike at linux dot intel dot com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists