diff options
author | 2016-09-07 07:13:05 +0000 | |
---|---|---|
committer | 2016-09-07 07:13:05 +0000 | |
commit | 363dd772d2ef51e62ad2be7ff225fa5f4a7577d6 (patch) | |
tree | d530517a65020ef450addfac7cdc42aaa53341cf | |
parent | install switch.4 (diff) | |
download | wireguard-openbsd-363dd772d2ef51e62ad2be7ff225fa5f4a7577d6.tar.xz wireguard-openbsd-363dd772d2ef51e62ad2be7ff225fa5f4a7577d6.zip |
Clarify what it means when PT_OPENBSD_RANDOMIZE and PT_GNU_RELRO segments
overlap
-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. |