Messages in this thread | | | Date | Wed, 29 Mar 2017 15:28:58 -0700 | Subject | Re: [PATCH] x86/fpu: move FPU state into separate cache | From | hpa@zytor ... |
| |
On March 29, 2017 2:41:00 PM PDT, Linus Torvalds <torvalds@linux-foundation.org> wrote: >On Wed, Mar 29, 2017 at 2:35 PM, Andy Lutomirski <luto@amacapital.net> >wrote: >> >> Randomization also needs to leave thread_info at the beginning. Can >it do that? > >Good point, and good question. No idea if the gcc extension can do, >but yes, it clearly needs a "you can't move this entry". > >I assume it has some such capability already, because it's fairly >common to have that kind of "beginning of structure if fixed" due to >unions of structures anyway. > > Linus
An alternative is to wrap the randomized structure inside a nonrandomized wrapper structure. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
| |