Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 5 of 5) sorted by relevance

/elf/
A Ddl-map-segments.h29 return (ElfW(Addr)) __mmap ((void *) mappref, maplength, c->prot, in ElfW()
46 maplength, c->prot, in ElfW()
138 c->mapend - c->mapstart, c->prot, in _dl_map_segments()
166 if (__glibc_unlikely ((c->prot & PROT_WRITE) == 0)) in _dl_map_segments()
171 GLRO(dl_pagesize), c->prot|PROT_WRITE) < 0) in _dl_map_segments()
175 if (__glibc_unlikely ((c->prot & PROT_WRITE) == 0)) in _dl_map_segments()
177 GLRO(dl_pagesize), c->prot); in _dl_map_segments()
185 c->prot, MAP_ANON|MAP_PRIVATE|MAP_FIXED, in _dl_map_segments()
A Ddl-load.h80 int prot; /* PROT_* bits. */ member
91 if (c->prot & PROT_EXEC) in _dl_postprocess_loadcmd()
A Ddl-reloc.c199 int prot; in _dl_relocate_object() member
265 newp->prot = 0; in _dl_relocate_object()
267 newp->prot |= PROT_READ; in _dl_relocate_object()
269 newp->prot |= PROT_WRITE; in _dl_relocate_object()
271 newp->prot |= PROT_EXEC; in _dl_relocate_object()
273 if (__mprotect (newp->start, newp->len, newp->prot|PROT_WRITE) < 0) in _dl_relocate_object()
320 if (__mprotect (textrels->start, textrels->len, textrels->prot) < 0) in _dl_relocate_object()
A Ddl-misc.c43 _dl_sysdep_read_whole_file (const char *file, size_t *sizep, int prot) in _dl_sysdep_read_whole_file() argument
57 result = __mmap (NULL, *sizep, prot, in _dl_sysdep_read_whole_file()
A Ddl-load.c1159 c->prot = (PF_TO_PROT in _dl_map_object_from_fd()
1162 c->prot = 0; in _dl_map_object_from_fd()
1164 c->prot |= PROT_READ; in _dl_map_object_from_fd()
1166 c->prot |= PROT_WRITE; in _dl_map_object_from_fd()
1168 c->prot |= PROT_EXEC; in _dl_map_object_from_fd()

Completed in 9 milliseconds