summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-22 01:39:30 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-22 01:39:30 +0200
commitb3ce5a3c91841e29e2fd87f89cbdfda4cc843c39 (patch)
tree78e042997423830d220f08391e7578f4d4ce3960
parent18c12b7a38f32b8f5d0bbf291268f79041bc89c0 (diff)
exec: document why mask code is currently commented
-rw-r--r--exec/exec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/exec/exec.c b/exec/exec.c
index b03c7fdb..cf90a08a 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -81,6 +81,11 @@ load_section (void *section, struct execdata *u)
addr += u->info.elf.loadbase;
else
#if 0
+ /* XXX: gnumach currently does not support high bits set in mask to prevent
+ * loading at high addresses.
+ * Instead, in rtld we prevent mappings there through a huge mapping done by
+ * fmh().
+ */
switch (elf_machine)
{
case EM_386: