/darwin-on-arm/xnu/security/ |
H A D | mac_file.c | 198 * 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 D | mac_process.c | 367 * 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 D | mac_framework.h | 201 int prot, int flags, int *maxprot); 342 user_size_t u_size, int prot, int flags, int *maxprot);
|
H A D | mac_policy.h | 838 @param maxprot Maximum rights 842 in prot. The maxprot field holds the maximum permissions on the new 845 remove flags from maxprot. 857 int *maxprot 3155 @param maxprot Maximum rights 3161 cause a mapping to be rejected before this hook is called. The maxprot field 3164 access control checks, a policy should only remove flags from maxprot. 3176 int *maxprot
|
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_seg.c | 89 seg->maxprot = src->maxprot; 118 seg->maxprot = src->maxprot; 153 seg->maxprot = VM_PROT_ALL; 425 le->maxprot = VM_PROT_ALL; 447 seg->maxprot = 0; 653 seghdr->maxprot = seg->maxprot; 693 seghdr->maxprot [all...] |
H A D | kxld_seg.h | 55 vm_prot_t maxprot; member in struct:kxld_seg
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_mman.c | 157 vm_prot_t maxprot; local 249 maxprot = VM_PROT_ALL; 254 error = mac_proc_check_map_anon(p, user_addr, user_size, prot, flags, &maxprot); 350 maxprot = VM_PROT_EXECUTE; /* ??? */ 352 maxprot |= VM_PROT_READ; 389 maxprot |= VM_PROT_WRITE; 397 maxprot |= VM_PROT_WRITE; 402 fp->f_fglob, prot, flags, &maxprot); 485 if (maxprot & VM_PROT_READ) 486 maxprot | 1131 vm_prot_t maxprot = VM_PROT_ALL; local [all...] |
H A D | kern_core.c | 230 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 D | mach_loader.c | 241 scp->maxprot = scp32->maxprot; 873 vm_prot_t maxprot; local 927 (scp->maxprot & VM_PROT_ALL) == VM_PROT_NONE) { 975 maxprot = (scp->maxprot) & VM_PROT_ALL; 982 initprot, maxprot, 1023 scp->initprot, scp->maxprot,
|
/darwin-on-arm/xnu/EXTERNAL_HEADERS/mach-o/ |
H A D | loader.h | 322 * by the maxprot and initprot fields. If the segment has sections then the 334 vm_prot_t maxprot; /* maximum VM protection */ member in struct:segment_command 354 vm_prot_t maxprot; /* maximum VM protection */ member in struct:segment_command_64
|
/darwin-on-arm/xnu/osfmk/kdp/ml/arm/ |
H A D | kdp_arm_common.c | 145 sc.maxprot = VM_PROT_READ;
|
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/ |
H A D | kdp_x86_common.c | 512 sc.maxprot = VM_PROT_READ;
|
/darwin-on-arm/xnu/bsd/vm/ |
H A D | vm_unix.c | 1199 vm_prot_t maxprot = VM_PROT_ALL; local 1266 fp->f_fglob, VM_PROT_ALL, MAP_FILE, &maxprot);
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSKext.cpp | 5410 result = OSKext_protect(kext_map, start, end, seg->maxprot, TRUE);
|