Re: [PATCH 2/3] SELinux: add security_task_movememory calls to mmcode

From: Christoph Lameter
Date: Thu Jun 22 2006 - 10:54:52 EST


On Thu, 22 Jun 2006, Serge E. Hallyn wrote:

> sorry if I'm being dense - what is actually being protected against
> here? The only thing I can think of is one process causing performance
> degradation to another by moving it's memory further from it's cpu on a
> NUMA machine.

Right.

> Is there something more? (And is what I'm guessing even possible?)

In the case of move_pages() a process can find out where the pages of
another process were allocated.

> I'm not arguing against this hook, just wondering whether there's
> more to this than I see.

I was wondering myself.

-
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/