mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.
This commit is contained in:
@ -945,7 +945,7 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
|
|||||||
mapping. */
|
mapping. */
|
||||||
__mprotect ((caddr_t) (l->l_addr + c->mapend),
|
__mprotect ((caddr_t) (l->l_addr + c->mapend),
|
||||||
loadcmds[nloadcmds - 1].allocend - c->mapend,
|
loadcmds[nloadcmds - 1].allocend - c->mapend,
|
||||||
0);
|
PROT_NONE);
|
||||||
|
|
||||||
goto postmap;
|
goto postmap;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user