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 ?
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/