~armagetronad-dev/armagetronad/0.2.8.3-armagetronad-work

Viewing all changes in revision 1230.

  • Committer: Manuel Moos
  • Date: 2019-10-27 14:51:59 UTC
  • Revision ID: z-man@users.sf.net-20191027145159-oxw2mqru7vdoic77
Make binreloc work again

Apparenly, a recent-ish change in Linux binary loading now has
constant strings in a segment that is marked differently in
/proc/self/map, a post-memory-relocation readonly area, I gather.
It is marked with r--p. Adapt binreloc to also accept such
segments.

Related to https://gitlab.com/armagetronad/armagetronad/issues/6,
should reduce the number of cases the workaround needs to kick in.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: