Commit 86c77b36 authored by Greg Steuck's avatar Greg Steuck Committed by Marge Bot

Remove unused SEGMENT_PROT_RWX

It's been unused for a year and is problematic on any OS which
requires W^X for security.
parent 88e3c815
......@@ -74,12 +74,10 @@ typedef enum {
SEGMENT_PROT_RO = PROT_READ,
SEGMENT_PROT_RX = PROT_READ | PROT_EXEC,
SEGMENT_PROT_RWO = PROT_READ | PROT_WRITE,
SEGMENT_PROT_RWX = PROT_READ | PROT_WRITE | PROT_EXEC
#else
SEGMENT_PROT_RO,
SEGMENT_PROT_RX,
SEGMENT_PROT_RWO,
SEGMENT_PROT_RWX
#endif
} SegmentProt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment