/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_procmaps.h | 31 // Memory protection masks. 45 bool IsReadable() const { return protection & kProtectionRead; } 46 bool IsWritable() const { return protection & kProtectionWrite; } 47 bool IsExecutable() const { return protection & kProtectionExecute; } 48 bool IsShared() const { return protection & kProtectionShared; } 57 uptr protection; member in class:__sanitizer::MemoryMappedSegment
|
sanitizer_procmaps_solaris.cc | 43 segment->protection = 0; 45 segment->protection |= kProtectionRead; 47 segment->protection |= kProtectionWrite; 49 segment->protection |= kProtectionExecute;
|
sanitizer_procmaps_linux.cc | 47 segment->protection = 0; 48 if (*data_.current++ == 'r') segment->protection |= kProtectionRead; 50 if (*data_.current++ == 'w') segment->protection |= kProtectionWrite; 52 if (*data_.current++ == 'x') segment->protection |= kProtectionExecute; 54 if (*data_.current++ == 's') segment->protection |= kProtectionShared;
|
sanitizer_procmaps_bsd.cc | 113 segment->protection = 0; 115 segment->protection |= kProtectionRead; 117 segment->protection |= kProtectionWrite; 119 segment->protection |= kProtectionExecute;
|
sanitizer_procmaps_mac.cc | 155 if (size >= sizeof(mach_header) && info.protection & kProtectionRead) { 217 // Return the initial protection. 218 segment->protection = sc->initprot;
|
/src/sys/miscfs/procfs/ |
procfs_map.c | 173 (entry->protection & VM_PROT_READ) ? 'r' : '-', 174 (entry->protection & VM_PROT_WRITE) ? 'w' : '-', 175 (entry->protection & VM_PROT_EXECUTE) ? 'x' : '-', 185 (entry->protection & VM_PROT_READ) ? 'r' : '-', 186 (entry->protection & VM_PROT_WRITE) ? 'w' : '-', 187 (entry->protection & VM_PROT_EXECUTE) ? 'x' : '-',
|
/src/games/warp/ |
util.c | 157 mode_t protection; local in function:eaccess 166 protection = 7 & (filestat.st_mode >> 170 if ((mod & protection) == mod)
|
/src/sys/uvm/ |
uvm_coredump.c | 115 state.prot = entry->protection; 140 } else if ((entry->protection & VM_PROT_WRITE) == 0 && 146 } else if ((entry->protection & VM_PROT_READ) == 0) {
|
uvm_mremap.c | 58 reserved_entry->protection != VM_PROT_NONE) { 93 reserved_entry->protection = entry->protection;
|
uvm_map.c | 205 (ent)->protection == (prot) && \ 1149 * check sanity of protection code 1571 new_entry->protection = prot; 2892 newentry->protection = newentry->max_protection = 2895 newentry->protection = (flags & UVM_EXTRACT_FIXPROT) ? 2896 entry->max_protection : entry->protection; 3133 * uvm_map_protect_user: change map protection on behalf of the user. 3151 * uvm_map_protect: change map protection 3179 * make a first pass to check for protection violations. 3219 old_prot = current->protection; [all...] |
uvm_map.h | 126 * and user-exported inheritance and protection information. 150 vm_prot_t protection; /* protection code */ member in struct:vm_map_entry 151 vm_prot_t max_protection; /* maximum protection */
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
stm32mp15xx-dhcor-som.dtsi | 66 regulator-over-current-protection; 75 regulator-over-current-protection; 84 regulator-over-current-protection; 92 regulator-over-current-protection; 115 regulator-over-current-protection;
|
stm32mp15xx-osd32.dtsi | 90 regulator-over-current-protection; 99 regulator-over-current-protection; 109 regulator-over-current-protection; 117 regulator-over-current-protection; 144 regulator-over-current-protection;
|
stm32mp157a-stinger96.dtsi | 130 regulator-over-current-protection; 139 regulator-over-current-protection; 149 regulator-over-current-protection; 157 regulator-over-current-protection; 182 regulator-over-current-protection;
|
stm32mp157c-odyssey-som.dtsi | 119 regulator-over-current-protection; 128 regulator-over-current-protection; 138 regulator-over-current-protection; 146 regulator-over-current-protection; 171 regulator-over-current-protection;
|
stm32mp157c-ed1.dts | 194 regulator-over-current-protection; 203 regulator-over-current-protection; 213 regulator-over-current-protection; 221 regulator-over-current-protection; 244 regulator-over-current-protection;
|
qcom-pm8941.dtsi | 175 regulator-over-current-protection; 185 regulator-over-current-protection;
|
stm32mp15xx-dhcom-som.dtsi | 283 regulator-over-current-protection; 292 regulator-over-current-protection; 302 regulator-over-current-protection; 310 regulator-over-current-protection; 334 regulator-over-current-protection;
|
/src/sys/external/bsd/compiler_rt/dist/lib/interception/ |
interception_win.cc | 658 // Change memory protection to writable. 659 DWORD protection = 0; local in function:__interception::OverrideFunctionWithDetour 660 if (!ChangeMemoryProtection(header, patch_length, &protection)) 669 // Restore previous memory protection. 670 if (!RestoreMemoryProtection(header, patch_length, protection)) 700 // Change memory protection to writable. 701 DWORD protection = 0; local in function:__interception::OverrideFunctionWithRedirectJump 702 if (!ChangeMemoryProtection(old_func, kJumpInstructionLength, &protection)) 708 // Restore previous memory protection. 709 if (!RestoreMemoryProtection(old_func, kJumpInstructionLength, protection)) 750 DWORD protection = 0; local in function:__interception::OverrideFunctionWithHotPatch 807 DWORD protection = 0; local in function:__interception::OverrideFunctionWithTrampoline [all...] |
/src/sys/conf/ |
ssp.mk | 8 # __stack_chk_guard, so ensure stack protection is disabled
|
/src/usr.bin/pmap/ |
pmap.c | 201 printf("%-*s %*s Protection File\n", 375 printf(" protection = %#x,\n", vme->protection); 466 (vme->protection & VM_PROT_READ) ? 'r' : '-', 467 (vme->protection & VM_PROT_WRITE) ? 'w' : '-', 468 (vme->protection & VM_PROT_EXECUTE) ? 'x' : '-', 493 (vme->protection & VM_PROT_READ) ? 'r' : '-', 494 (vme->protection & VM_PROT_WRITE) ? 'w' : '-', 495 (vme->protection & VM_PROT_EXECUTE) ? 'x' : '-', 517 vme->protection, vme->max_protection [all...] |
/src/sys/arch/x68k/stand/loadbsd/ |
trampoline.S | 57 | minimize supervisor protection
|
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
lsan_common_mac.cc | 184 info.protection & kProtectionRead);
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_platform_posix.cc | 142 if (segment.protection == 0) // Zero page or mprotected.
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_mman.c | 317 bool write = ufi->entry->protection & VM_PROT_WRITE; 379 vaddr + i*PAGE_SIZE, paddr, ufi->entry->protection, 380 PMAP_CANFAIL | ufi->entry->protection | pmapflags); 421 bool write = ufi->entry->protection & VM_PROT_WRITE; 519 vaddr + i*PAGE_SIZE, paddr, ufi->entry->protection, 520 PMAP_CANFAIL|PMAP_WRITE_COMBINE | ufi->entry->protection);
|