Searched refs:maxprot (Results 1 - 25 of 34) sorted by relevance

12

/macosx-10.9.5/xnu-2422.115.4/security/
H A Dmac_file.c198 * both prot and maxprot will have VM_PROT_EXECUTE set after file_check_mmap
201 * The type of maxprot in file_check_mmap must be equivalent to vm_prot_t *
207 int flags, int *maxprot)
212 maxp = *maxprot;
214 if ((maxp | *maxprot) != *maxprot)
216 *maxprot = maxp;
206 mac_file_check_mmap(struct ucred *cred, struct fileglob *fg, int prot, int flags, int *maxprot) argument
H A Dmac_process.c367 * The type of maxprot in proc_check_map_anon must be equivalent to vm_prot_t
373 user_size_t u_size, int prot, int flags, int *maxprot)
383 MAC_CHECK(proc_check_map_anon, proc, cred, u_addr, u_size, prot, flags, maxprot);
372 mac_proc_check_map_anon(proc_t proc, user_addr_t u_addr, user_size_t u_size, int prot, int flags, int *maxprot) argument
H A Dmac_framework.h206 int prot, int flags, int *maxprot);
349 user_size_t u_size, int prot, int flags, int *maxprot);
/macosx-10.9.5/cctools-845/ld/
H A Dspecs.h41 vm_prot_t maxprot; /* specified maximum protection */ member in struct:segment_spec
H A Dlayout.c598 if((seg_spec->maxprot &
604 seg_spec->maxprot |= (VM_PROT_READ |
616 stack_segment.sg.maxprot = seg_spec->maxprot;
623 if((stack_segment.sg.maxprot & VM_PROT_EXECUTE) ==
631 stack_segment.sg.maxprot =
633 stack_segment.sg.initprot = stack_segment.sg.maxprot;
844 msg->sg.maxprot = VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE;
855 msg->sg.maxprot = VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE;
866 msg->sg.maxprot
[all...]
H A Dspecs.c357 msg->sg.maxprot = segment_specs[i].maxprot;
411 print_prot(segment_specs[i].maxprot);
H A Dfvmlibs.c299 print("\t maxprot 0x%08x\n", (unsigned int)(msg->sg.maxprot));
H A Dld.c463 static enum bool check_max_init_prot(vm_prot_t maxprot, vm_prot_t initprot);
1164 -segprot <segname> <maxprot> <initprot>
1174 seg_spec->maxprot = getprot(argv[i+2], &endp);
1184 if(check_max_init_prot(seg_spec->maxprot,
3306 vm_prot_t maxprot,
3309 if(((initprot & VM_PROT_READ) && !(maxprot & VM_PROT_READ)) ||
3310 ((initprot & VM_PROT_WRITE) && !(maxprot & VM_PROT_WRITE)) ||
3311 ((initprot & VM_PROT_EXECUTE) && !(maxprot & VM_PROT_EXECUTE)) )
3305 check_max_init_prot( vm_prot_t maxprot, vm_prot_t initprot) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/regressions/
H A Dssl-45-tls12.c169 static SSLContextRef make_ssl_ref(int sock, SSLProtocol maxprot) argument
181 require_noerr(SSLSetProtocolVersionMax(ctx, maxprot), out);
246 ssl_test_handle_create(int comm, SSLProtocol maxprot) argument
251 handle->st = make_ssl_ref(comm, maxprot);
260 SSLProtocol maxprot; member in struct:s_server
295 client = ssl_test_handle_create(s, servers[p].maxprot);
H A Dssl-47-falsestart.c176 static SSLContextRef make_ssl_ref(int sock, SSLProtocol maxprot, Boolean false_start) argument
191 require_noerr(SSLSetProtocolVersionMax(ctx, maxprot), out);
272 ssl_test_handle_create(int comm, SSLProtocol maxprot, Boolean false_start) argument
277 handle->st = make_ssl_ref(comm, maxprot, false_start);
286 SSLProtocol maxprot; member in struct:s_server
318 client = ssl_test_handle_create(s, servers[p].maxprot, fs);
/macosx-10.9.5/xnu-2422.115.4/libkern/kxld/
H A Dkxld_seg.c89 seg->maxprot = src->maxprot;
118 seg->maxprot = src->maxprot;
153 seg->maxprot = VM_PROT_ALL;
424 le->maxprot = VM_PROT_ALL;
446 seg->maxprot = 0;
652 seghdr->maxprot = seg->maxprot;
692 seghdr->maxprot
[all...]
H A Dkxld_seg.h55 vm_prot_t maxprot; member in struct:kxld_seg
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dkern_mman.c157 vm_prot_t maxprot; local
253 maxprot = VM_PROT_ALL;
258 error = mac_proc_check_map_anon(p, user_addr, user_size, prot, flags, &maxprot);
355 maxprot = VM_PROT_EXECUTE; /* ??? */
357 maxprot |= VM_PROT_READ;
394 maxprot |= VM_PROT_WRITE;
402 maxprot |= VM_PROT_WRITE;
407 fp->f_fglob, prot, flags, &maxprot);
491 if (maxprot & VM_PROT_READ)
492 maxprot |
1142 vm_prot_t maxprot = VM_PROT_ALL; local
[all...]
H A Dkern_core.c224 vm_prot_t maxprot; local
397 maxprot = vbr.max_protection;
412 sc64->maxprot = maxprot;
425 sc->maxprot = maxprot;
443 if ((maxprot & VM_PROT_READ) == VM_PROT_READ
H A Dmach_loader.c253 scp->maxprot = scp32->maxprot;
927 vm_prot_t maxprot; local
985 (scp->maxprot & VM_PROT_ALL) == VM_PROT_NONE) {
1030 maxprot = (scp->maxprot) & VM_PROT_ALL;
1037 initprot, maxprot,
1079 scp->initprot, scp->maxprot,
/macosx-10.9.5/xnu-2422.115.4/EXTERNAL_HEADERS/mach-o/
H A Dloader.h323 * by the maxprot and initprot fields. If the segment has sections then the
335 vm_prot_t maxprot; /* maximum VM protection */ member in struct:segment_command
355 vm_prot_t maxprot; /* maximum VM protection */ member in struct:segment_command_64
/macosx-10.9.5/cctools-845/libmacho/
H A Dswap.c105 sg->maxprot = OSSwapInt32(sg->maxprot);
123 sg->maxprot = OSSwapInt32(sg->maxprot);
/macosx-10.9.5/cctools-845/include/mach-o/
H A Dloader.h324 * by the maxprot and initprot fields. If the segment has sections then the
336 vm_prot_t maxprot; /* maximum VM protection */ member in struct:segment_command
356 vm_prot_t maxprot; /* maximum VM protection */ member in struct:segment_command_64
/macosx-10.9.5/cctools-845/misc/
H A Dctf_insert.c568 sg_CTF->maxprot = VM_PROT_READ;
603 sg64_CTF->maxprot = VM_PROT_READ;
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/
H A DMachO.h320 uint32_t maxprot; member in struct:llvm::MachO::segment_command
334 uint32_t maxprot; member in struct:llvm::MachO::segment_command_64
/macosx-10.9.5/cctools-845/otool/
H A Dofile_print.h199 vm_prot_t maxprot,
/macosx-10.9.5/dtrace-118.1/libelf/
H A Dbegin.c87 SWAP32(segment->maxprot);
102 SWAP32(segment->maxprot);
/macosx-10.9.5/xnu-2422.115.4/SETUP/kextsymboltool/
H A Dkextsymboltool.c756 segcmd.maxprot = PROT_READ;
796 segcmd.maxprot = PROT_READ;
/macosx-10.9.5/dyld-239.4/launch-cache/
H A DMachOFileAbstraction.hpp164 uint32_t maxprot() const INLINE { return E::get32(segment.fields.maxprot); }
165 void set_maxprot(uint32_t value) INLINE { E::set32((uint32_t&)segment.fields.maxprot, value); }
/macosx-10.9.5/xnu-2422.115.4/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c527 sc.maxprot = VM_PROT_READ;

Completed in 154 milliseconds

12