Re: [PATCH] Add a text_poke syscall v2

From: H. Peter Anvin
Date: Wed Nov 27 2013 - 17:26:03 EST


Actually the CPUID is superfluous on anything than the executing CPU since IRET is serializing.

Borislav Petkov <bp@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/