Re: [PATCH 3/7] SLIM main patch

From: Alan Cox
Date: Thu Aug 24 2006 - 17:49:52 EST


Ar Iau, 2006-08-24 am 16:41 -0400, ysgrifennodd Mimi Zohar:
> Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote on 08/24/2006 10:15:17 AM:
> revoke_mmap_wperm() walks current->mm->mmap and removes
> the file write permission using do_mprotect().

That is fine for threads of "current" but the pages may be shared
between processes, and there are other fun cases where you can "park"
data in objects and let someone open them later to recover the data (eg
the console)

> We have test shmem and mmap programs in the ltp framework that
> show this actually works.

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