projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a656c9
)
(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 11 Aug 2001 20:27:50 +0000
(20:27 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 11 Aug 2001 20:27:50 +0000
(20:27 +0000)
elf/dl-load.c
patch
|
blob
|
history
diff --git
a/elf/dl-load.c
b/elf/dl-load.c
index
d72ba64
..
fe4e957
100644
(file)
--- 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;
}