add support for a read-only-after-init section for libc #21

Closed
thestinger opened this Issue Aug 25, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@thestinger
Contributor

thestinger commented Aug 25, 2015

It would be much easier to deal with this if globals could just be marked with an attribute to put them in a special section. At the moment, they have to be shoved into a union with a PAGE_SIZE member and PAGE_SIZE alignment to manually use mprotect after initialization.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Oct 16, 2015

Contributor

A different approach was taken upstream, so there's little reason to work on this now.

Contributor

thestinger commented Oct 16, 2015

A different approach was taken upstream, so there's little reason to work on this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment