diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-09-07 07:13:06 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-09-07 07:13:06 +0000 |
commit | 80c3d2f1f301eb8d6ca05d39ccfc6a847f2891e5 (patch) | |
tree | f5aab14ef909b454cdac9b0b53b17ff598d2b89c /share/man | |
parent | 508a6e770a70f3ef26de697edef81b9525d970bb (diff) |
Clarify what it means when PT_OPENBSD_RANDOMIZE and PT_GNU_RELRO segments
overlap
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man5/elf.5 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man5/elf.5 b/share/man/man5/elf.5 index 89a8252729a..57da785a643 100644 --- a/share/man/man5/elf.5 +++ b/share/man/man5/elf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: elf.5,v 1.29 2016/09/07 05:54:10 guenther Exp $ +.\" $OpenBSD: elf.5,v 1.30 2016/09/07 07:13:05 guenther Exp $ .\"Copyright (c) 1999 Jeroen Ruigrok van der Werven .\"All rights reserved. .\" @@ -522,6 +522,11 @@ This segment type may not occur more than once in a file. The array element specifies the location and size of a part of the memory image of the program that must be filled with random data before any code in the object is executed. +The memory region specified by a segment of this type may overlap +the region specified by a +.Dv PT_GNU_RELRO +segment, in which case the intersection will be randomized before +being marked read-only. This segment type may occur more than once in a file, but a limit on the total number of bytes in the segments for an object of no less than 65536 bytes may be imposed. |