lkml.org 
[lkml]   [2013]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] Add a text_poke syscall v2
On Wed, Nov 27, 2013 at 2:02 PM, H. Peter Anvin <hpa@zytor.com> 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.

Presumably, if this were done, it should be merged with the
sys_membarrier work. Maybe there should be a syscall for executing
some kind of barrier on all cpus that might be looking at the current
mm (and, eventually, something for MAP_SHARED as well if anyone
cares).

A benefit of the explicit text_poke approach is that it can
potentially get MAP_SHARED patching right. I don't know if anyone
would ever want to do that, though.

--Andy


\
 
 \ /
  Last update: 2013-11-27 23:41    [W:0.088 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site