]> sourceware.org Git - glibc.git/commitdiff
(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.
authorUlrich Drepper <drepper@redhat.com>
Sat, 11 Aug 2001 20:27:50 +0000 (20:27 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 11 Aug 2001 20:27:50 +0000 (20:27 +0000)
elf/dl-load.c

index d72ba64a3fe350eb578030c7f1e305d4d694bfe4..fe4e957ced3e42ffceae48e53479a48b9ac15375 100644 (file)
@@ -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;
       }
This page took 0.042774 seconds and 5 git commands to generate.