Searched refs:PROT_EXEC (Results 1 – 8 of 8) sorted by relevance
23 #define PROT_EXEC 0x4 macro
34 MACRO(PROT_EXEC); in sys_mman_h()
136 #define PFLAGS_TO_PROT(x) (MAYBE_MAP_FLAG((x), PF_X, PROT_EXEC) | \633 if ((prot & (PROT_EXEC | PROT_WRITE)) == (PROT_EXEC | PROT_WRITE)) { in LoadSegments()709 prot &= ~PROT_EXEC; in _phdr_table_set_load_prot()
67 flags |= PROT_EXEC; in parse_line()
120 record.perms |= PROT_EXEC; in parse_maps()
240 char* base = reinterpret_cast<char*>(mmap(nullptr, PAGE_SIZE * 2, PROT_EXEC | PROT_READ, in TEST()
2001 has_executable_segment = has_executable_segment || (rec.perms & PROT_EXEC) != 0; in TEST()2023 rec.perms |= PROT_EXEC; in TEST()
1536 PROT_READ | PROT_EXEC, "/data/fake.so"}; in TEST_F()