Searched refs:perms (Results 1 – 3 of 3) sorted by relevance
87 int perms; member114 record.perms = 0; in parse_maps()116 record.perms |= PROT_READ; in parse_maps()119 record.perms |= PROT_WRITE; in parse_maps()122 record.perms |= PROT_EXEC; in parse_maps()
308 const mode_t perms = S_IRUSR | S_IWUSR; in TEST() local309 int fd = open(dir.path, O_TMPFILE | O_RDWR, perms); in TEST()319 ASSERT_EQ(perms, (sb.st_mode & ~S_IFMT)); in TEST()332 ASSERT_EQ(perms, (sb.st_mode & ~S_IFMT)); in TEST()
1992 has_executable_segment = has_executable_segment || (rec.perms & PROT_EXEC) != 0; in TEST()2011 ASSERT_TRUE((maps_to_copy[0].perms & PROT_WRITE) == 0); in TEST()2012 maps_to_copy[0].perms |= PROT_EXEC; in TEST()2029 mprotect(map, size, rec.perms); in TEST()