Re: System call interposition/unprotecting the table

From: Alan Cox
Date: Tue Aug 14 2007 - 07:27:21 EST


On Tue, 14 Aug 2007 08:12:29 +0300
Avi Kivity <avi@xxxxxxxxxx> wrote:

> Alan Cox wrote:
> > This is to protect it from being changed by an attacker or someone trying
> > to do strange and bogus things to the kernel.
> >
>
> Someone who apparently hasn't heard of vmap(), etc.
>
> It's a debug aid at best.

You assume the average attacker is smart. Fortunately this isn't true,
although some certainly are. For guests however we can push this further
as a hypervisor can implement 'irrevocably read only' pages for a guest.
Something we don't currently do but should.

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