1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-05 19:35:52 +03:00

(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.

This commit is contained in:
Ulrich Drepper
2001-08-11 20:27:50 +00:00
parent 2a656c95d6
commit 44ad8377fb

View File

@@ -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;
} }