/netbsd-current/sys/kern/ |
H A D | exec_subr.c | 163 vm_prot_t *maxprot) 168 *maxprot = PAX_MPROTECT_MAXPROTECT(l, *prot, extraprot, UVM_PROT_ALL); 170 if ((*prot & *maxprot) != *prot) 182 vm_prot_t prot, maxprot; local 199 if ((error = vmcmd_get_prot(l, cmd, &prot, &maxprot)) != 0) 224 UVM_MAPFLAG(prot, maxprot, UVM_INH_COPY, 270 vm_prot_t prot, maxprot; local 278 if ((error = vmcmd_get_prot(l, cmd, &prot, &maxprot)) != 0) 296 if (maxprot != VM_PROT_ALL) { 300 maxprot, tru 162 vmcmd_get_prot(struct lwp *l, const struct exec_vmcmd *cmd, vm_prot_t *prot, vm_prot_t *maxprot) argument 329 vm_prot_t prot, maxprot; local [all...] |
H A D | vfs_vnops.c | 940 vm_prot_t maxprot; local 949 maxprot = VM_PROT_EXECUTE; 1015 maxprot |= VM_PROT_READ; 1024 * maxprot if the file is not immutable, append-only. 1037 maxprot |= VM_PROT_WRITE; 1046 maxprot |= VM_PROT_WRITE; 1074 int i = maxprot; 1103 (maxprot & VM_PROT_WRITE) != 0; 1138 * Strip the executable bit from 'maxprot' to make sure 1141 maxprot [all...] |
H A D | kern_pax.c | 418 struct lwp *l, vm_prot_t active, vm_prot_t extra, vm_prot_t maxprot) 424 return maxprot; 426 return (active|extra) & maxprot; 414 pax_mprotect_maxprotect( const char *file, size_t line, struct lwp *l, vm_prot_t active, vm_prot_t extra, vm_prot_t maxprot) argument
|
/netbsd-current/sys/uvm/ |
H A D | uvm_unix.c | 101 vm_prot_t maxprot; local 103 maxprot = PAX_MPROTECT_MAXPROTECT(l, prot, 0, UVM_PROT_ALL); 107 UVM_MAPFLAG(prot, maxprot,
|
H A D | uvm_mmap.c | 278 vm_prot_t prot, maxprot, extraprot; local 377 &advice, &uobj, &maxprot); 396 maxprot = VM_PROT_ALL; 400 maxprot = PAX_MPROTECT_MAXPROTECT(l, prot, extraprot, maxprot); 401 if (((prot | extraprot) & maxprot) != (prot | extraprot)) { 421 error = uvm_mmap(&p->p_vmspace->vm_map, &addr, size, prot, maxprot, 428 prot, maxprot, flags, advice, uobj, pos, 856 vm_prot_t maxprot, int flags, int advice, struct uvm_object *uobj, 871 if ((prot & maxprot) ! 855 uvm_mmap(struct vm_map *map, vaddr_t *addr, vsize_t size, vm_prot_t prot, vm_prot_t maxprot, int flags, int advice, struct uvm_object *uobj, voff_t foff, vsize_t locklimit) argument [all...] |
H A D | uvm_fault.c | 861 const bool maxprot = (fault_flag & UVM_FAULT_MAXPROT) != 0; local 901 error = uvm_fault_check(&ufi, &flt, &anons, maxprot); 979 struct vm_anon ***ranons, bool maxprot) 1012 check_prot = maxprot ? 1060 KASSERT(!maxprot); 2614 vm_prot_t access_type, int maxprot) 2635 (maxprot ? UVM_FAULT_MAXPROT : 0) | UVM_FAULT_WIRE); 977 uvm_fault_check( struct uvm_faultinfo *ufi, struct uvm_faultctx *flt, struct vm_anon ***ranons, bool maxprot) argument 2613 uvm_fault_wire(struct vm_map *map, vaddr_t start, vaddr_t end, vm_prot_t access_type, int maxprot) argument
|
H A D | uvm_map.c | 201 prot, maxprot, inh, adv, wire) \ 206 (ent)->max_protection == (maxprot) && \ 1113 vm_prot_t maxprot = UVM_MAXPROTECTION(flags); local 1140 if ((prot & maxprot) != prot) { 1142 prot, maxprot,0,0); 1270 const vm_prot_t maxprot = UVM_MAXPROTECTION(flags); local 1342 prot, maxprot, inherit, advice, 0)) { 1399 prot, maxprot, inherit, advice, 0)) { 1560 new_entry->max_protection = maxprot; 2657 * UVM_EXTRACT_FIXPROT: set prot to maxprot a [all...] |
/netbsd-current/external/gpl3/binutils/dist/include/mach-o/ |
H A D | external.h | 90 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member in struct:mach_o_segment_command_32_external 104 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member in struct:mach_o_segment_command_64_external
|
/netbsd-current/external/gpl3/binutils.old/dist/include/mach-o/ |
H A D | external.h | 90 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member in struct:mach_o_segment_command_32_external 104 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member in struct:mach_o_segment_command_64_external
|
/netbsd-current/external/gpl3/gdb.old/dist/include/mach-o/ |
H A D | external.h | 90 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member in struct:mach_o_segment_command_32_external 104 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member in struct:mach_o_segment_command_64_external
|
/netbsd-current/external/gpl3/gdb/dist/include/mach-o/ |
H A D | external.h | 90 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member in struct:mach_o_segment_command_32_external 104 unsigned char maxprot[4]; /* Maximum permitted vm protection. */ member in struct:mach_o_segment_command_64_external
|
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 301 uint32_t maxprot; member in struct:__anon3227::MachOSegment 369 Segment.maxprot = SC.maxprot; 383 Segment.maxprot = SC.maxprot; 852 W.printString("maxprot", getMask(MOSegment.maxprot));
|
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
H A D | Object.cpp | 142 Seg.maxprot |=
|
/netbsd-current/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
H A D | MachOUtils.cpp | 130 Seg64.maxprot = Seg.maxprot;
|
/netbsd-current/external/gpl3/binutils.old/dist/bfd/ |
H A D | mach-o.h | 99 unsigned long maxprot; /* Maximum permitted protection. */ member in struct:bfd_mach_o_segment_command
|
H A D | mach-o.c | 1917 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); 1951 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); 2721 linkedit->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE 2834 seg->maxprot = seg->initprot; 2944 seg->maxprot = 0; 3027 /* Set maxprot. */ 3029 seg->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE 3032 seg->maxprot [all...] |
/netbsd-current/external/gpl3/binutils/dist/bfd/ |
H A D | mach-o.h | 99 unsigned long maxprot; /* Maximum permitted protection. */ member in struct:bfd_mach_o_segment_command
|
H A D | mach-o.c | 1932 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); 1966 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); 2723 linkedit->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE 2836 seg->maxprot = seg->initprot; 2946 seg->maxprot = 0; 3029 /* Set maxprot. */ 3031 seg->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE 3034 seg->maxprot [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/bfd/ |
H A D | mach-o.h | 99 unsigned long maxprot; /* Maximum permitted protection. */ member in struct:bfd_mach_o_segment_command
|
/netbsd-current/external/gpl3/gdb/dist/bfd/ |
H A D | mach-o.h | 99 unsigned long maxprot; /* Maximum permitted protection. */ member in struct:bfd_mach_o_segment_command
|
H A D | mach-o.c | 1935 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); 1969 bfd_h_put_32 (abfd, seg->maxprot, raw.maxprot); 2726 linkedit->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE 2839 seg->maxprot = seg->initprot; 2949 seg->maxprot = 0; 3032 /* Set maxprot. */ 3034 seg->maxprot = BFD_MACH_O_PROT_READ | BFD_MACH_O_PROT_WRITE 3037 seg->maxprot [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
H A D | MachOYAML.cpp | 494 IO.mapRequired("maxprot", LoadCommand.maxprot); 507 IO.mapRequired("maxprot", LoadCommand.maxprot);
|
/netbsd-current/external/gpl3/binutils/dist/libiberty/ |
H A D | simple-object-mach-o.c | 107 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member in struct:mach_o_segment_command_32 124 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member in struct:mach_o_segment_command_64 1303 /* maxprot left as zero. */ 1330 /* maxprot left as zero. */
|
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/ |
H A D | simple-object-mach-o.c | 107 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member in struct:mach_o_segment_command_32 124 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member in struct:mach_o_segment_command_64 1298 /* maxprot left as zero. */ 1325 /* maxprot left as zero. */
|
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/ |
H A D | simple-object-mach-o.c | 107 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member in struct:mach_o_segment_command_32 124 unsigned char maxprot[4]; /* Maximum permitted vmem protection. */ member in struct:mach_o_segment_command_64 1303 /* maxprot left as zero. */ 1330 /* maxprot left as zero. */
|