From b3ce5a3c91841e29e2fd87f89cbdfda4cc843c39 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 22 Apr 2018 01:39:30 +0200 Subject: exec: document why mask code is currently commented --- exec/exec.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'exec/exec.c') 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: -- cgit v1.2.3