diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-11 20:27:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-11 20:27:50 +0000 |
commit | 44ad8377fb7f62dedf950ddf6fe653943367a5d5 (patch) | |
tree | d2e4e5428dbcc083dde2e6186caa3d5992436ea2 | |
parent | 2a656c95d63d085ad73e8b5ca1470d02055385d5 (diff) | |
download | glibc-44ad8377fb7f62dedf950ddf6fe653943367a5d5.zip glibc-44ad8377fb7f62dedf950ddf6fe653943367a5d5.tar.gz glibc-44ad8377fb7f62dedf950ddf6fe653943367a5d5.tar.bz2 |
(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.
-rw-r--r-- | elf/dl-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c index d72ba64..fe4e957 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; } |