This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Encoding page size in the ELF header
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sun, 27 Sep 2015 07:17:22 -0700
- Subject: Re: Encoding page size in the ELF header
- Authentication-results: sourceware.org; auth=none
- References: <56054662 dot 2010106 at redhat dot com>
On Fri, Sep 25, 2015 at 6:04 AM, Florian Weimer <fweimer@redhat.com> wrote:
> Not sure if this the right mailing list for this discussion.
>
> I think we should record the expected page size in the ELF header in
> some way. It affects the behavior of the static linker, the dynamic
> linker, and even some applications. (For example, an application might
> want to make a part of .data read-only after initialization, as a
> hardening measure.)
>
> What would be a good way to do that?
See:
https://sourceware.org/bugzilla/show_bug.cgi?id=12485#c3
--
H.J.