Lines Matching refs:mprotect_flags
449 int mprotect_flags, in read_section_offset_and_length() argument
557 if ((mprotect_flags & PROT_WRITE) in read_section_offset_and_length()
571 int mprotect_flags, in read_section_offset_and_length() argument
710 if ((mprotect_flags & PROT_WRITE) in read_section_offset_and_length()
736 int * mprotect_flags = (int *) data; in iterate_modules() local
765 *mprotect_flags, in iterate_modules()
774 (*mprotect_flags & PROT_WRITE) ? "READ/WRITE" : "READ-ONLY"); in iterate_modules()
798 *mprotect_flags); in iterate_modules()
806 (*mprotect_flags & PROT_WRITE) ? in iterate_modules()
852 int * mprotect_flags = (int *) data; in dl_iterate_phdr_callback() local
878 read_section_offset_and_length (info, map_sect_name, *mprotect_flags, in dl_iterate_phdr_callback()
887 (*mprotect_flags & PROT_WRITE) ? "READ/WRITE" : "READ-ONLY"); in dl_iterate_phdr_callback()
912 *mprotect_flags); in dl_iterate_phdr_callback()
920 (*mprotect_flags & PROT_WRITE) ? in dl_iterate_phdr_callback()
984 int mprotect_flags; in vtv_unprotect_vtable_vars() local
986 mprotect_flags = PROT_READ | PROT_WRITE; in vtv_unprotect_vtable_vars()
987 change_protections_on_phdr_cache (mprotect_flags); in vtv_unprotect_vtable_vars()
989 iterate_modules ((void *) &mprotect_flags); in vtv_unprotect_vtable_vars()
991 dl_iterate_phdr (dl_iterate_phdr_callback, (void *) &mprotect_flags); in vtv_unprotect_vtable_vars()
1002 int mprotect_flags; in vtv_protect_vtable_vars() local
1004 mprotect_flags = PROT_READ; in vtv_protect_vtable_vars()
1006 iterate_modules ((void *) &mprotect_flags); in vtv_protect_vtable_vars()
1008 dl_iterate_phdr (dl_iterate_phdr_callback, (void *) &mprotect_flags); in vtv_protect_vtable_vars()
1010 change_protections_on_phdr_cache (mprotect_flags); in vtv_protect_vtable_vars()
1669 int *mprotect_flags = (int *) data; in dl_iterate_phdr_count_pages() local
1685 read_section_offset_and_length (info, map_sect_name, *mprotect_flags, in dl_iterate_phdr_count_pages()
1699 int mprotect_flags; in count_all_pages() local
1701 mprotect_flags = PROT_READ; in count_all_pages()
1705 iterate_modules ((void *) &mprotect_flags); in count_all_pages()
1707 dl_iterate_phdr (dl_iterate_phdr_count_pages, (void *) &mprotect_flags); in count_all_pages()