From 44ad8377fb7f62dedf950ddf6fe653943367a5d5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 11 Aug 2001 20:27:50 +0000 Subject: [PATCH] (_dl_map_object_from_fd): Use correct symbolic constant in mprotect call. --- elf/dl-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.43.5