Messages in this thread | | | Subject | Re: [PATCH] Add a text_poke syscall v2 | From | "H. Peter Anvin" <> | Date | Wed, 27 Nov 2013 14:25:29 -0800 |
| |
Actually the CPUID is superfluous on anything than the executing CPU since IRET is serializing.
Borislav Petkov <bp@alien8.de> wrote: >On Wed, Nov 27, 2013 at 02:02:50PM -0800, H. Peter Anvin wrote: >> For the record, this is the entire patch necessary to do the >> sync_cores() system call -- and no potential interactions with >security >> frameworks or whatnot, simply because no security-sensitive >operations >> are performed of any kind. >> >> Comments/opinions appreciated. > >And we do this in the kernel not because userspace can't execute >sync_core() aka CPUID but because for userspace it is hard to IPI all >cores easily?
-- Sent from my mobile phone. Please pardon brevity and lack of formatting.
| |