| /netbsd-src/sys/kern/ |
| H A D | exec_subr.c | 166 vm_prot_t *maxprot) in vmcmd_get_prot() 171 *maxprot = PAX_MPROTECT_MAXPROTECT(l, *prot, extraprot, UVM_PROT_ALL); in vmcmd_get_prot() 173 if ((*prot & *maxprot) != *prot) in vmcmd_get_prot() 185 vm_prot_t prot, maxprot; in vmcmd_map_pagedvn() 202 if ((error = vmcmd_get_prot(l, cmd, &prot, &maxprot)) != 0) in vmcmd_map_pagedvn() 227 UVM_MAPFLAG(prot, maxprot, UVM_INH_COPY, in vmcmd_map_pagedvn() 273 vm_prot_t prot, maxprot; in vmcmd_readvn() 281 if ((error = vmcmd_get_prot(l, cmd, &prot, &maxprot)) != 0) in vmcmd_readvn() 299 if (maxprot != VM_PROT_ALL) { in vmcmd_readvn() 303 maxprot, tru in vmcmd_readvn() 163 vmcmd_get_prot(struct lwp * l,const struct exec_vmcmd * cmd,vm_prot_t * prot,vm_prot_t * maxprot) vmcmd_get_prot() argument 182 vm_prot_t prot, maxprot; vmcmd_map_pagedvn() local 270 vm_prot_t prot, maxprot; vmcmd_readvn() local 329 vm_prot_t prot, maxprot; vmcmd_map_zero() local [all...] |
| H A D | vfs_vnops.c | 938 vm_prot_t maxprot; in vn_mmap() 947 maxprot = VM_PROT_EXECUTE; in vn_mmap() 1014 maxprot |= VM_PROT_READ; in vn_mmap() 1023 * maxprot if the file is not immutable, append-only. in vn_mmap() 1036 maxprot |= VM_PROT_WRITE; in vn_mmap() 1045 maxprot |= VM_PROT_WRITE; in vn_mmap() 1073 int i = maxprot; in vn_mmap() 1102 (maxprot & VM_PROT_WRITE) != 0; in vn_mmap() 1136 * Strip the executable bit from 'maxprot' to make sure in vn_mmap() 1139 maxprot in vn_mmap() 940 vm_prot_t maxprot; vn_mmap() local [all...] |
| H A D | kern_pax.c | 418 struct lwp *l, vm_prot_t active, vm_prot_t extra, vm_prot_t maxprot) in pax_mprotect_maxprotect() argument 424 return maxprot; in pax_mprotect_maxprotect() 426 return (active|extra) & maxprot; in pax_mprotect_maxprotect()
|
| /netbsd-src/sys/uvm/ |
| H A D | uvm_mmap.c | 278 vm_prot_t prot, maxprot, extraprot; in sys_mmap() local 377 &advice, &uobj, &maxprot); in sys_mmap() 396 maxprot = VM_PROT_ALL; in sys_mmap() 400 maxprot = PAX_MPROTECT_MAXPROTECT(l, prot, extraprot, maxprot); in sys_mmap() 401 if (((prot | extraprot) & maxprot) != (prot | extraprot)) { in sys_mmap() 421 error = uvm_mmap(&p->p_vmspace->vm_map, &addr, size, prot, maxprot, in sys_mmap() 428 prot, maxprot, flags, advice, uobj, pos, in sys_mmap() 856 vm_prot_t maxprot, int flags, int advice, struct uvm_object *uobj, in uvm_mmap() argument 871 if ((prot & maxprot) != prot) in uvm_mmap() 942 uvmflag = UVM_MAPFLAG(prot, maxprot, in uvm_mmap()
|
| H A D | uvm_unix.c | 101 vm_prot_t maxprot; in sys_obreak() local 103 maxprot = PAX_MPROTECT_MAXPROTECT(l, prot, 0, UVM_PROT_ALL); in sys_obreak() 107 UVM_MAPFLAG(prot, maxprot, in sys_obreak()
|
| H A D | uvm_fault.c | 861 const bool maxprot = (fault_flag & UVM_FAULT_MAXPROT) != 0; in uvm_fault_internal() local 901 error = uvm_fault_check(&ufi, &flt, &anons, maxprot); in uvm_fault_internal() 979 struct vm_anon ***ranons, bool maxprot) in uvm_fault_check() argument 1012 check_prot = maxprot ? in uvm_fault_check() 1060 KASSERT(!maxprot); in uvm_fault_check() 2614 vm_prot_t access_type, int maxprot) in uvm_fault_wire() argument 2635 (maxprot ? UVM_FAULT_MAXPROT : 0) | UVM_FAULT_WIRE); in uvm_fault_wire()
|
| H A D | uvm_map.c | 201 prot, maxprot, inh, adv, wire) \ argument 206 (ent)->max_protection == (maxprot) && \ 1125 vm_prot_t maxprot = UVM_MAXPROTECTION(flags); in uvm_map_prepare() 1152 if ((prot & maxprot) != prot) { in uvm_map_prepare() 1154 prot, maxprot,0,0); in uvm_map_prepare() 1282 const vm_prot_t maxprot = UVM_MAXPROTECTION(flags); in uvm_map_enter() 1354 prot, maxprot, inherit, advice, 0)) { in uvm_map_enter() 1411 prot, maxprot, inherit, advice, 0)) { in uvm_map_enter() 1572 new_entry->max_protection = maxprot; in uvm_map_enter() 2730 * UVM_EXTRACT_FIXPROT: set prot to maxprot a in uvm_map_extract() 1113 vm_prot_t maxprot = UVM_MAXPROTECTION(flags); uvm_map_prepare() local 1270 const vm_prot_t maxprot = UVM_MAXPROTECTION(flags); uvm_map_enter() local [all...] |
| /netbsd-src/external/gpl3/binutils.old/dist/include/mach-o/ |
| H A D | external.h | 90 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member 104 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member
|
| /netbsd-src/external/gpl3/binutils/dist/include/mach-o/ |
| H A D | external.h | 90 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member 104 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 301 uint32_t maxprot; member 369 Segment.maxprot = SC.maxprot; in getSegment() 383 Segment.maxprot = SC.maxprot; in getSegment() 852 W.printString("maxprot", getMask(MOSegment.maxprot)); in printMachOSegment()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/darwin/mach/ |
| H A D | loader.d | 583 int maxprot; in version() member 625 int maxprot; in version() local 2755 int maxprot; member 2770 int maxprot; variable
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
| H A D | MachOUtils.cpp | 130 Seg64.maxprot = Seg.maxprot; in adaptFrom32bits()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
| H A D | Object.cpp | 142 Seg.maxprot |= in constructSegment()
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | mach-o.c | 1947 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); in bfd_mach_o_write_segment_32() 1981 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); in bfd_mach_o_write_segment_64() 2740 linkedit->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE in bfd_mach_o_write_contents() 2853 seg->maxprot = seg->initprot; in bfd_mach_o_build_obj_seg_command() 2963 seg->maxprot = 0; in bfd_mach_o_build_exec_seg_command() 3048 seg->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE in bfd_mach_o_build_exec_seg_command() 3051 seg->maxprot = 0; in bfd_mach_o_build_exec_seg_command() 3164 seg->maxprot = 0; in bfd_mach_o_init_segment() 4872 seg->maxprot = bfd_h_get_32 (abfd, raw.maxprot); in bfd_mach_o_read_segment() 4895 seg->maxprot = bfd_h_get_32 (abfd, raw.maxprot); in bfd_mach_o_read_segment()
|
| H A D | mach-o.h | 99 unsigned long maxprot; /* Maximum permitted protection. */ member
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | mach-o.c | 1932 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); in bfd_mach_o_write_segment_32() 1966 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); in bfd_mach_o_write_segment_64() 2723 linkedit->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE in bfd_mach_o_write_contents() 2836 seg->maxprot = seg->initprot; in bfd_mach_o_build_obj_seg_command() 2946 seg->maxprot = 0; in bfd_mach_o_build_exec_seg_command() 3031 seg->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE in bfd_mach_o_build_exec_seg_command() 3034 seg->maxprot = 0; in bfd_mach_o_build_exec_seg_command() 3147 seg->maxprot = 0; in bfd_mach_o_init_segment() 4845 seg->maxprot = bfd_h_get_32 (abfd, raw.maxprot); in bfd_mach_o_read_segment() 4868 seg->maxprot = bfd_h_get_32 (abfd, raw.maxprot); in bfd_mach_o_read_segment()
|
| H A D | mach-o.h | 99 unsigned long maxprot; /* Maximum permitted protection. */ member
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | sslapitest.c | 1154 static int execute_test_session(int maxprot, int use_int_cache, in execute_test_session() argument 1169 if (maxprot == TLS1_3_VERSION) in execute_test_session() 1181 SSL_CTX_set_min_proto_version(cctx, maxprot); in execute_test_session() 1182 SSL_CTX_set_max_proto_version(cctx, maxprot); in execute_test_session() 1223 if (maxprot == TLS1_3_VERSION) { in execute_test_session() 1344 SSL_CTX_set_max_proto_version(sctx, maxprot); in execute_test_session() 1345 if (maxprot == TLS1_2_VERSION) in execute_test_session() 1357 if (maxprot == TLS1_3_VERSION && !use_ext_cache) { in execute_test_session() 1385 if (use_int_cache && maxprot != TLS1_3_VERSION) { in execute_test_session() 1408 if (maxprot == TLS1_3_VERSION) { in execute_test_session() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 543 uint32_t maxprot; member 557 uint32_t maxprot; member 1069 sys::swapByteOrder(seg.maxprot); in swapStruct() 1082 sys::swapByteOrder(seg.maxprot); in swapStruct()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 494 IO.mapRequired("maxprot", LoadCommand.maxprot); in mapping() 507 IO.mapRequired("maxprot", LoadCommand.maxprot); in mapping()
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | simple-object-mach-o.c | 107 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member 124 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | simple-object-mach-o.c | 107 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member 124 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | simple-object-mach-o.c | 107 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member 124 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | simple-object-mach-o.c | 107 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member 124 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member
|
| /netbsd-src/external/gpl3/gcc/dist/libbacktrace/ |
| H A D | macho.c | 167 uint32_t maxprot; /* Maximum permitted virtual protection */ member 184 uint32_t maxprot; /* Maximum permitted virtual protection */ member
|