Re: [tip:x86/mpx] x86/insn-eval: Add utility function to get segment descriptor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:x86/mpx] x86/insn-eval: Add utility function to get segment descriptor
- From: Borislav Petkov <bp@xxxxxxx>
- Date: Thu, 7 Dec 2017 09:03:12 +0100
- Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, luto@xxxxxxxxxx, adam.buchbinder@xxxxxxxxx, mst@xxxxxxxxxx, mhiramat@xxxxxxxxxx, dave.hansen@xxxxxxxxxxxxxxx, mingo@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, colin.king@xxxxxxxxxxxxx, jslaby@xxxxxxx, pbonzini@xxxxxxxxxx, cmetcalf@xxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, vbabka@xxxxxxx, acme@xxxxxxxxxx, brgerst@xxxxxxxxx, shuah@xxxxxxxxxx, paul.gortmaker@xxxxxxxxxxxxx, lstoakes@xxxxxxxxx, hpa@xxxxxxxxx, thgarnie@xxxxxxxxxx, keescook@xxxxxxxxxxxx, adrian.hunter@xxxxxxxxx, ray.huang@xxxxxxx, dvyukov@xxxxxxxxxx, ravi.v.shankar@xxxxxxxxx, slaoub@xxxxxxxxx, corbet@xxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <20171207072359.GA19428@voyager>
- References: <1509135945-13762-15-git-send-email-ricardo.neri-calderon@linux.intel.com> <tip-670f928ba09b06712da34a3c44be6c8fa561fb19@git.kernel.org> <20171205174844.GM3165@worktop.lehotels.local> <20171205181456.akycirziiuhb7crw@pd.tnic> <20171205183845.GO3165@worktop.lehotels.local> <20171205212933.amf4pkpzgrjpdssw@pd.tnic> <20171207072359.GA19428@voyager>
- User-agent: NeoMutt/20170609 (1.8.3)
On Wed, Dec 06, 2017 at 11:23:59PM -0800, Ricardo Neri wrote:
> In UMIP emulation we can potentially access the LDT twice. Once when
> determining the base address of the code segment and again when determining
> the base address and limit of the segment in which the result of the
> emulation is written. I guess that mm->context.ldt_seq needs to not change
> not only while decoding a particular linear address but across these two
> linear address decodings.
Yap, stuff which needs to see an *unchanged* LDT should use the cookie
to verify that and the LDT code should change the cookie when the LDT
is modified.
> Sure, I will look into implementing this idea and post patches for it.
Thanks!
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
--
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]