From: Ulrich Drepper Date: Sat, 11 Aug 2001 20:27:50 +0000 (+0000) Subject: (_dl_map_object_from_fd): Use correct symbolic constant in mprotect call. X-Git-Tag: cvs/glibc-2_2_4~26 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=44ad8377fb7f62dedf950ddf6fe653943367a5d5;p=glibc.git (_dl_map_object_from_fd): Use correct symbolic constant in mprotect call. --- diff --git a/elf/dl-load.c b/elf/dl-load.c index d72ba64a3f..fe4e957ced 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -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; }