Re: [patch] Add basic sanity checks to the syscall execution patch

From: Alan Cox
Date: Thu Sep 04 2008 - 08:35:11 EST


On Thu, 04 Sep 2008 14:01:46 +0200
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> Arjan van de Ven <arjan@xxxxxxxxxxxxx> writes:
>
> > Add basic sanity checks to the syscall execution patch
>
> This just means that the root kits will switch to patch
> the first instruction of the entry points instead.
>
> So the protection will be zero to minimal, but the overhead will
> be there forever.

Agreed entirely. This is a waste of time and a game not worth playing.
The only place you can expect to make a difference here is in virtualised
environments by teaching KVM how to provide 'irrevocably read only' pages
to guests where the guest OS isn't permitted to change the rights back or
the virtual mapping of that page.

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/