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

/macosx-10.10/xnu-2782.1.97/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.c377 * The type of maxprot in proc_check_map_anon must be equivalent to vm_prot_t
383 user_size_t u_size, int prot, int flags, int *maxprot)
393 MAC_CHECK(proc_check_map_anon, proc, cred, u_addr, u_size, prot, flags, maxprot);
382 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.h201 int prot, int flags, int *maxprot);
347 user_size_t u_size, int prot, int flags, int *maxprot);
H A Dmac_policy.h870 @param maxprot Maximum rights
874 in prot. The maxprot field holds the maximum permissions on the new
877 remove flags from maxprot.
889 int *maxprot
2860 @param maxprot Maximum rights
2866 cause a mapping to be rejected before this hook is called. The maxprot field
2869 access control checks, a policy should only remove flags from maxprot.
2881 int *maxprot
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/regressions/
H A Dssl-45-tls12.c185 static SSLContextRef make_ssl_ref(int sock, SSLProtocol maxprot) argument
197 require_noerr(SSLSetProtocolVersionMax(ctx, maxprot), out);
262 ssl_test_handle_create(int comm, SSLProtocol maxprot) argument
267 handle->st = make_ssl_ref(comm, maxprot);
275 SSLProtocol maxprot; member in struct:s_server
310 client = ssl_test_handle_create(s, servers[p].maxprot);
H A Dssl-47-falsestart.c192 static SSLContextRef make_ssl_ref(int sock, SSLProtocol maxprot, Boolean false_start) argument
207 require_noerr(SSLSetProtocolVersionMax(ctx, maxprot), out);
285 ssl_test_handle_create(int comm, SSLProtocol maxprot, Boolean false_start) argument
290 handle->st = make_ssl_ref(comm, maxprot, false_start);
299 SSLProtocol maxprot; member in struct:s_server
331 client = ssl_test_handle_create(s, servers[p].maxprot, fs);
/macosx-10.10/xnu-2782.1.97/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.10/xnu-2782.1.97/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 |
[all...]
H A Dkern_core.c224 vm_prot_t maxprot; local
401 maxprot = vbr.max_protection;
416 sc64->maxprot = maxprot;
429 sc->maxprot = maxprot;
447 if ((maxprot & VM_PROT_READ) == VM_PROT_READ
H A Dmach_loader.c253 scp->maxprot = scp32->maxprot;
953 vm_prot_t maxprot; local
1010 (scp->maxprot & VM_PROT_ALL) == VM_PROT_NONE) {
1049 maxprot = (scp->maxprot) & VM_PROT_ALL;
1056 initprot, maxprot,
1098 scp->initprot, scp->maxprot,
/macosx-10.10/xnu-2782.1.97/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.10/llvmCore-3425.0.34/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.10/dtrace-147/libelf/
H A Dbegin.c86 SWAP32(segment->maxprot);
101 SWAP32(segment->maxprot);
/macosx-10.10/xnu-2782.1.97/SETUP/kextsymboltool/
H A Dkextsymboltool.c756 segcmd.maxprot = PROT_READ;
796 segcmd.maxprot = PROT_READ;
/macosx-10.10/dyld-353.2.1/launch-cache/
H A DMachOFileAbstraction.hpp176 uint32_t maxprot() const INLINE { return E::get32(segment.fields.maxprot); }
177 void set_maxprot(uint32_t value) INLINE { E::set32((uint32_t&)segment.fields.maxprot, value); }
/macosx-10.10/xnu-2782.1.97/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c527 sc.maxprot = VM_PROT_READ;
/macosx-10.10/xnu-2782.1.97/bsd/vm/
H A Dvm_unix.c1162 vm_prot_t maxprot = VM_PROT_ALL; local
1238 fp->f_fglob, VM_PROT_ALL, MAP_FILE, &maxprot);
/macosx-10.10/emacs-93/emacs/src/
H A Dunexmacosx.c981 sc.maxprot = VM_PROT_READ | VM_PROT_WRITE;
/macosx-10.10/emacs-93/
H A Dunexmacosx.c981 sc.maxprot = VM_PROT_READ | VM_PROT_WRITE;
/macosx-10.10/xnu-2782.1.97/libkern/c++/
H A DOSKext.cpp5421 result = OSKext_protect(kext_map, start, end, seg->maxprot, TRUE);

Completed in 413 milliseconds