Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(206)

Issue 954041: code review 954041: 6l, 8l: include ELF header in PT_LOAD mapping for text ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 11 months ago by rsc
Modified:
14 years, 11 months ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

6l, 8l: include ELF header in PT_LOAD mapping for text segment Due to page boundary rounding, the header would have been loaded as part of the text segment already, but this change placates the "paxctl" tool on so-called hardened Linux distributions (as if normal distributions weren't already hard enough to use).

Patch Set 1 #

Patch Set 2 : code review 954041: 6l, 8l: include ELF header in PT_LOAD mapping for text ... #

Patch Set 3 : code review 954041: 6l, 8l: include ELF header in PT_LOAD mapping for text ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M src/cmd/6l/asm.c View 1 chunk +5 lines, -5 lines 0 comments Download
M src/cmd/8l/asm.c View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 11 months ago (2010-04-21 00:38:53 UTC) #1
r
LGTM
14 years, 11 months ago (2010-04-21 00:54:56 UTC) #2
rsc
14 years, 11 months ago (2010-04-21 03:39:58 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=3acf28684918 ***

6l, 8l: include ELF header in PT_LOAD mapping for text segment

Due to page boundary rounding, the header would have
been loaded as part of the text segment already, but this
change placates the "paxctl" tool on so-called hardened
Linux distributions (as if normal distributions weren't already
hard enough to use).

R=r
CC=golang-dev
http://codereview.appspot.com/954041
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b