(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.
This commit is contained in:
parent
2a656c95d6
commit
44ad8377fb
@ -945,7 +945,7 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
|
||||
mapping. */
|
||||
__mprotect ((caddr_t) (l->l_addr + c->mapend),
|
||||
loadcmds[nloadcmds - 1].allocend - c->mapend,
|
||||
0);
|
||||
PROT_NONE);
|
||||
|
||||
goto postmap;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user