Re: Non-Exec stack patches

From: Kurt Garloff
Date: Wed Apr 14 2004 - 13:32:07 EST


On Wed, Apr 14, 2004 at 10:47:02AM +0100, Jamie Lokier wrote:
> People looking at PROT_EXEC page table flags might want to be aware
> that <asm-um/pgtable.h> mimics the behaviour of i386: read implies and
> is implied by exec, write implies read.
>
> That might mean user-mode linux doesn't provide no-exec-stack
> protection even when the underlying kernel does offer it. I'm not sure.

I thought UML only runs on i386.
And on i386, you have no NX feature.
You can run i386 UML on AMD64 (with 64bit kernel) though.

Regards,
--
Kurt Garloff <garloff@xxxxxxx> Cologne, DE
SUSE LINUX AG, Nuernberg, DE SUSE Labs (Head)

Attachment: pgp00000.pgp
Description: PGP signature