The mmap option in mprotect is set wrong in GCHeapUnix.cpp

VERIFIED FIXED

Status

VERIFIED FIXED
11 years ago
9 years ago

People

(Reporter: leon.sha, Assigned: leon.sha)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

11 years ago
In GCHeap::SetExecuteBit the option of mprotect is PROT_READ|PROT_EXEC when executable and it is PROT_READ|PROT_WRITE|PROT_EXEC when no-executable. This is not correct.
(Assignee)

Comment 1

11 years ago
Created attachment 300991 [details] [diff] [review]
patch
Assignee: nobody → leon.sha
Status: NEW → ASSIGNED
Attachment #300991 - Flags: review?(treilly)

Updated

11 years ago
Attachment #300991 - Flags: review?(treilly) → review+
(Assignee)

Comment 2

11 years ago
Checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED

Comment 3

9 years ago
Resolved fixed engineering / work item that has been pushed.  Setting status to
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.