Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 20 Dec 2019 17:05:37 +0100
From: Borislav Petkov <>
To: Thomas Garnier <>
Cc: Peter Zijlstra <>,
	Kernel Hardening <>,
	Kristen Carlson Accardi <>,
	Kees Cook <>,
	Andy Lutomirski <>,
	Thomas Gleixner <>,
	Ingo Molnar <>, "H. Peter Anvin" <>,
	the arch/x86 maintainers <>,
	LKML <>
Subject: Re: [PATCH v10 04/11] x86/entry/64: Adapt assembly for PIE support

On Fri, Dec 06, 2019 at 08:35:09AM -0800, Thomas Garnier wrote:
> > Yes, but there it made sense since the PUSH actually created that field
> > of the frame, here it is nonsensical. What this instruction does is put
> > the address of the '1f' label into RDX, which is then stuck into the
> > (R)IP field on the next instruction.
> Got it, make sense. Thanks.
> >
> > > > > +     movq    %rdx, 8(%rsp)   /* Put 1f on return address */

And pls write it out as "put the address of the '1f' label into RDX"
instead of "Put 1f on return address" which could be misunderstood.



Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.