/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps.h | 30 // Memory protection masks. 44 bool IsReadable() const { return protection & kProtectionRead; } 45 bool IsWritable() const { return protection & kProtectionWrite; } 46 bool IsExecutable() const { return protection & kProtectionExecute; } 47 bool IsShared() const { return protection & kProtectionShared; } 56 uptr protection; member in class:__sanitizer::MemoryMappedSegment
|
H A D | sanitizer_procmaps_solaris.cpp | 44 segment->protection = 0; 46 segment->protection |= kProtectionRead; 48 segment->protection |= kProtectionWrite; 50 segment->protection |= kProtectionExecute;
|
H A D | sanitizer_procmaps_linux.cpp | 46 segment->protection = 0; 47 if (*data_.current++ == 'r') segment->protection |= kProtectionRead; 49 if (*data_.current++ == 'w') segment->protection |= kProtectionWrite; 51 if (*data_.current++ == 'x') segment->protection |= kProtectionExecute; 53 if (*data_.current++ == 's') segment->protection |= kProtectionShared;
|
H A D | sanitizer_procmaps_bsd.cpp | 112 segment->protection = 0; 114 segment->protection |= kProtectionRead; 116 segment->protection |= kProtectionWrite; 118 segment->protection |= kProtectionExecute;
|
H A D | sanitizer_procmaps_mac.cpp | 158 if (size >= sizeof(mach_header) && info.protection & kProtectionRead) { 221 // Return the initial protection. 222 segment->protection = sc->initprot;
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | fbsd-proc.c | 53 char *protection) 67 &resident, &privateresident, &obj, protection); 81 char protection[4]; local 94 while (read_mapping (mapfile, &start, &end, &protection[0])) 98 read = (strchr (protection, 'r') != 0); 99 write = (strchr (protection, 'w') != 0); 100 exec = (strchr (protection, 'x') != 0); 52 read_mapping(FILE *mapfile, unsigned long *start, unsigned long *end, char *protection) argument
|
H A D | gnu-nat.c | 2315 vm_prot_t protection; 2366 vm_prot_t protection; 2378 &protection, 2410 region_element->protection = protection; 2428 if (!(scan->protection & VM_PROT_WRITE)) 2434 scan->protection | VM_PROT_WRITE); 2448 if (!(scan->protection & VM_PROT_WRITE)) 2454 scan->protection); 2530 vm_prot_t protection; 2280 vm_prot_t protection; member in struct:vm_region_list 2331 vm_prot_t protection; local 2494 vm_prot_t protection; local [all...] |
H A D | solib-osf.c | 92 long protection; member in struct:__anon1602
|
/freebsd-11-stable/contrib/apr/file_io/unix/ |
H A D | filestat.c | 75 finfo->protection = apr_unix_mode2perms(info->st_mode); 206 finfo.protection &= ~APR_UWRITE; 207 finfo.protection &= ~APR_GWRITE; 208 finfo.protection &= ~APR_WWRITE; 213 finfo.protection |= APR_UWRITE; 214 finfo.protection |= APR_GWRITE; 215 finfo.protection |= APR_WWRITE; 224 finfo.protection |= APR_UEXECUTE; 225 finfo.protection |= APR_GEXECUTE; 226 finfo.protection | [all...] |
H A D | copy.c | 43 perms = finfo.protection;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/interception/ |
H A D | interception_win.cpp | 663 // Change memory protection to writable. 664 DWORD protection = 0; 665 if (!ChangeMemoryProtection(header, patch_length, &protection)) 674 // Restore previous memory protection. 675 if (!RestoreMemoryProtection(header, patch_length, protection)) 705 // Change memory protection to writable. 706 DWORD protection = 0; local 707 if (!ChangeMemoryProtection(old_func, kJumpInstructionLength, &protection)) 713 // Restore previous memory protection. 714 if (!RestoreMemoryProtection(old_func, kJumpInstructionLength, protection)) 812 DWORD protection = 0; local [all...] |
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_process.c | 307 * Find out what maximum protection we may be allowing now 317 prot2str(vme->max_protection), prot2str(vme->protection)); 321 * actually used (that is, the current protection is still 324 if ((vme->protection & revokeperms) == 0) { 351 vme->protection &= ~VM_PROT_WRITE; 358 vme->protection &= ~VM_PROT_EXECUTE; 362 vme->protection = 0; 365 vme->protection & ~revokeperms);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_posix.cpp | 134 if (segment.protection == 0) // Zero page or mprotected.
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_map.c | 100 * Virtual memory maps provide for the mapping, protection, 1284 prev_entry->protection == prot && 1326 new_entry->protection = prot; 1616 (prev->protection == entry->protection) && 1657 (next->protection == entry->protection) && 1993 * Sets the protection of the specified address 1995 * specified, the maximum protection is to be set; 1996 * otherwise, only the current protection i 3186 vm_map_check_protection(vm_map_t map, vm_offset_t start, vm_offset_t end, vm_prot_t protection) argument [all...] |
H A D | vm_map.h | 96 * and user-exported inheritance and protection information. 113 vm_prot_t protection; /* protection code */ member in struct:vm_map_entry 114 vm_prot_t max_protection; /* maximum protection */
|
H A D | vm_fault.c | 401 * for write. Report the entry's maximum allowed protection 1243 * Check whether the protection has changed or the object has 1490 pmap_enter_quick(pmap, addr, m, entry->protection); 1617 access = prot = dst_entry->protection; 1707 KASSERT((src_entry->protection & VM_PROT_WRITE) == 0 ||
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_common_mac.cpp | 183 info.protection & kProtectionRead);
|
/freebsd-11-stable/contrib/apr/include/ |
H A D | apr_file_info.h | 157 #define APR_FINFO_UPROT 0x00100000 /**< User protection bits */ 158 #define APR_FINFO_GPROT 0x00200000 /**< Group protection bits */ 159 #define APR_FINFO_WPROT 0x00400000 /**< World protection bits */ 181 apr_fileperms_t protection; member in struct:apr_finfo_t
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | io.c | 408 if (finfo.protection & APR_FREADONLY) 1063 err = file_perms_set(dst, finfo.protection, pool); 1638 *perms = finfo.protection; 1639 default_perms = finfo.protection; 1664 *perms = default_perms | finfo.protection; 1715 perms_to_set = finfo.protection; 1726 if (finfo.protection & APR_UREAD) 1728 if (finfo.protection & APR_GREAD) 1730 if (finfo.protection & APR_WREAD) 1739 if (finfo.protection [all...] |
/freebsd-11-stable/usr.bin/gcore/ |
H A D | elfcore.c | 308 if (entry->protection & VM_PROT_READ) 310 if (entry->protection & VM_PROT_WRITE) 312 if (entry->protection & VM_PROT_EXECUTE) 556 ent->protection = VM_PROT_READ | VM_PROT_WRITE; 558 ent->protection |= VM_PROT_EXECUTE;
|
/freebsd-11-stable/sys/fs/tmpfs/ |
H A D | tmpfs_vfsops.c | 211 if ((entry->protection & VM_PROT_WRITE) != 0) { 212 entry->protection &= ~VM_PROT_WRITE; 214 entry->protection);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Memory.inc | 24 // Contrary to what you might expect, the Windows page protection flags 42 llvm_unreachable("Illegal memory protection flag specified!");
|
/freebsd-11-stable/sys/fs/procfs/ |
H A D | procfs_map.c | 127 e_prot = entry->protection;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 2126 // extend this protection. 2137 PeepholeProtection protection; local 2138 protection.Inst = inst; 2139 return protection; 2142 void CodeGenFunction::unprotectFromPeepholes(PeepholeProtection protection) { argument 2143 if (!protection.Inst) return; 2146 protection.Inst->eraseFromParent();
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_proc.c | 2173 if (entry->protection & VM_PROT_READ) 2175 if (entry->protection & VM_PROT_WRITE) 2177 if (entry->protection & VM_PROT_EXECUTE) 2414 if (entry->protection & VM_PROT_READ) 2416 if (entry->protection & VM_PROT_WRITE) 2418 if (entry->protection & VM_PROT_EXECUTE)
|