Date: Thu, 21 May 2020 01:05:09 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r361302 - in head: share/man/man7 sys/amd64/amd64 sys/i386/i386 sys/x86/include sys/x86/x86 Message-ID: <20200520220509.GA64045@kib.kiev.ua> In-Reply-To: <202005202200.04KM0VbJ014990@repo.freebsd.org> References: <202005202200.04KM0VbJ014990@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 20, 2020 at 10:00:31PM +0000, Konstantin Belousov wrote: > Author: kib > Date: Wed May 20 22:00:31 2020 > New Revision: 361302 > URL: https://svnweb.freebsd.org/changeset/base/361302 > > Log: > amd64: Add a knob to flush RSB on context switches if machine has SMEP. > > The flush is needed to prevent cross-process ret2spec, which is not handled > on kernel entry if IBPB is enabled but SMEP is present. > While there, add i386 RSB flush. > > Reported by: Anthony Steinhauser <asteinhauser@google.com> > Reviewed by: markj, Anthony Steinhauser > Discussed with: philip > admbugs: 961 > Sponsored by: The FreeBSD Foundation > MFC after: 1 week https://reviews.freebsd.org/D24868
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200520220509.GA64045>