Re: [tip:x86/pti] x86/retpoline: Fill return stack buffer on vmexit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:x86/pti] x86/retpoline: Fill return stack buffer on vmexit
- From: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
- Date: Thu, 25 Jan 2018 12:32:28 -0600
- Cc: Borislav Petkov <bp@xxxxxxxxx>, tim.c.chen@xxxxxxxxxxxxxxx, pjt@xxxxxxxxxx, jikos@xxxxxxxxxx, gregkh@xxxxxxxxxxxxxxxxxxxx, dave.hansen@xxxxxxxxx, mingo@xxxxxxxxxx, riel@xxxxxxxxxx, luto@xxxxxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, ak@xxxxxxxxxxxxxxx, keescook@xxxxxxxxxx, peterz@xxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, hpa@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <1516903463.30244.148.camel@infradead.org>
- References: <20180125120743.ey32gvl5mjam4r2s@pd.tnic> <1516882849.30244.94.camel@infradead.org> <20180125124554.vdx7rrnfrxrzl2ng@pd.tnic> <20180125151024.bidjr26r667vs7h5@treble> <20180125155110.mw655b7fwgm7qqc7@pd.tnic> <1516896198.30244.133.camel@infradead.org> <20180125165646.ytc4upthpaqtwi45@treble> <1516899639.30244.145.camel@infradead.org> <20180125175334.7wlin4ftnqkq2fil@pd.tnic> <1516903463.30244.148.camel@infradead.org>
- User-agent: Mutt/1.6.0.1 (2016-04-01)
On Thu, Jan 25, 2018 at 06:04:23PM +0000, David Woodhouse wrote:
> On Thu, 2018-01-25 at 18:53 +0100, Borislav Petkov wrote:
> >
> > So forget the KABI angle and think: simpler, cleaner, more readable
> > macros.
> >
> > Oh, and David, if while doing so I manage to add the alignment, then
> > *that* is even better.
> >
> > Win-win-effing-win situation!
>
> Yep, I'll buy that. But first we need Josh to work out what he's having
> for lunch.
This is what I've been eating every day:
https://www.urbandictionary.com/define.php?term=Shit%20Sandwich
:-)
> Although just another marker to tell objtool "ignore this whole
> function" might be sufficient to allow us to have an out-of-line RSB-
> stuffing function.
If the function is only in arch/x86/lib/retpoline.S, we can just tell
objtool to ignore the entire file for now, as the file has no useful
information anyway (until I get around to adding ORC hints to it). Just
add
OBJECT_FILES_NON_STANDARD_retpoline.o :=y
to the Makefile.
--
Josh
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]