Re: [PATCH v2 2/2] x86_32: Remove user bit from identity map PDE

From: Andy Lutomirski
Date: Wed Mar 12 2014 - 14:52:57 EST


On Wed, Mar 12, 2014 at 11:39 AM, Dave Jones <davej@xxxxxxxxxx> wrote:
> On Wed, Mar 12, 2014 at 11:29:45AM -0700, Andy Lutomirski wrote:
> > The only reason that the user bit was set was to support userspace
> > access to the compat vDSO in the fixmap. The compat vDSO is gone,
> > so the user bit can be removed.
> >
> > -/*
> > - * For PDE_IDENT_ATTR include USER bit. As the PDE and PTE protection
> > - * bits are combined, this will alow user to access the high address mapped
> > - * VDSO in the presence of CONFIG_COMPAT_VDSO
> > - */
> > #define PTE_IDENT_ATTR 0x003 /* PRESENT+RW */
> > -#define PDE_IDENT_ATTR 0x067 /* PRESENT+RW+USER+DIRTY+ACCESSED */
> > +#define PDE_IDENT_ATTR 0x063 /* PRESENT+RW+USER+DIRTY+ACCESSED */
> > #define PGD_IDENT_ATTR 0x001 /* PRESENT (no other attributes) */
>
> update the comment too ?

Damnit. I fixed this for the other patchset...

--Andy

>
> Dave
>



--
Andy Lutomirski
AMA Capital Management, LLC
--
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/