Re: [patches] [PATCH] [18/19] x86_64: Overlapping programheaders in physical addr space fix

From: Jan Beulich
Date: Mon Oct 23 2006 - 03:20:15 EST


>@@ -17,6 +17,7 @@ PHDRS {
> text PT_LOAD FLAGS(5); /* R_E */
> data PT_LOAD FLAGS(7); /* RWE */
> user PT_LOAD FLAGS(7); /* RWE */
>+ data.init PT_LOAD FLAGS(7); /* RWE */
> note PT_NOTE FLAGS(4); /* R__ */
> }
> SECTIONS

Even though it's only cosmetic, I think it would have been
more than appropriate to remove the ill 'E' permission on data
with that change. (Btw., why does 'note' need 'R'?) Also, I
consider the naming of the new segment misleading - just 'init'
would have been more correct.

Jan

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