PROT_NONE
#define MMAPNONE(sz,f) mmap(NULL, (sz), PROT_NONE, \
if (bucket == 0 && mprotect(pp, MALLOC_PAGESIZE, PROT_NONE) == -1)
mopts.malloc_guard, PROT_NONE))
PROT_NONE))
mopts.malloc_guard, PROT_NONE))
if (mprotect(p, sz, PROT_NONE))
mprotect(p, sz, PROT_NONE);
PROT_NONE);
if (guardsize != 0 && mprotect(guard, guardsize, PROT_NONE) == -1) {
libaddr = (Elf_Addr)_dl_mmap(0, maxva - minva, PROT_NONE,
PROT_NONE, MAP_FIXED | MAP_PRIVATE | MAP_ANON, -1, 0);
PROT_NONE, MAP_FIXED | MAP_PRIVATE | MAP_ANON, -1, 0);
MALLOC_GUARD, PROT_NONE))
_dl_mprotect(p, sz, PROT_NONE);
if (bits == 0 && _dl_mprotect(pp, MALLOC_PAGESIZE, PROT_NONE) < 0)
#define MMAPNONE(sz) _dl_mmap(NULL, (size_t)(sz), PROT_NONE, \
MALLOC_GUARD, PROT_NONE))
if (mprotect(p, pg, PROT_NONE) || mprotect(p + pg * 2, pg, PROT_NONE))
buf = mmap(NULL, page, PROT_NONE, flags, -1, 0);
" [%d] %s\n", page, PROT_NONE, flags, errno,
map = mmap(NULL, page, PROT_NONE, MAP_ANON|MAP_PRIVATE, -1, 0);
map = mmap(NULL, 3, PROT_NONE, MAP_FILE | MAP_SHARED, fd, 0);
void *map = mmap(NULL, SIZE, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0);
void *map = mmap(NULL, SIZE, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0);
if (mprotect(v, 2 * sizeof(union instr), PROT_NONE) == -1)
v = mmap(NULL, 2 * sizeof(union instr), PROT_NONE, MAP_ANON, -1, 0);
if (mprotect(m, ps, PROT_NONE))
CHECK_NE(MAP_FAILED, (p = mmap(NULL, pagesize, PROT_NONE,
CHECK_EQ(0, mprotect((void *)p, pagesize, PROT_NONE));
addr = mmap(NULL, getpagesize(), PROT_NONE,
addr = mmap(NULL, getpagesize(), PROT_NONE,
mprotect(addr, getpagesize(), PROT_NONE);
mem_area = mmap(0, MEM_SIZE, PROT_NONE, MAP_ANON, -1, 0);
return (PROT_NONE);
(prot == PROT_NONE && (pmapdebug & PDB_REMOVE)))
if ((prot & PROT_READ) == PROT_NONE) {
protection_codes[PROT_NONE] = pg_nx; /* --- */
KASSERT(prot == PROT_NONE);
if (prot != PROT_NONE) {
if (prot == PROT_NONE) {
if (prot != PROT_NONE) {
[PROT_NONE] = 0,
[PROT_NONE] = 0,
PROT_NONE, PMAP_CACHE_WB);
hppa_prot[PROT_NONE] = TLB_AR_NA;
prot = PROT_NONE;
KASSERT(prot == PROT_NONE);
if (prot != PROT_NONE)
protection_codes[PROT_NONE] = 0; /* --- */
if ((prot & PROT_READ) == PROT_NONE)
else if ((prot & PROT_WRITE) == PROT_NONE)
UVM_MAPFLAG(PROT_NONE, PROT_MASK, MAP_INHERIT_COPY,
if (prot == PROT_NONE) {
if ((prot & PROT_READ) == PROT_NONE) {
p->p_md.md_fppgva + PAGE_SIZE, PROT_NONE, 0, FALSE, FALSE);
PROT_NONE, 0, FALSE, FALSE);
if (prot == PROT_NONE) {
if (prot == PROT_NONE) {
if (prot != PROT_NONE) {
[PROT_NONE] = 0,
[PROT_NONE] = 0,
if ((prot & PROT_READ) == PROT_NONE) {
if (prot == PROT_NONE) {
UVM_MAPFLAG(PROT_NONE, PROT_NONE, MAP_INHERIT_SHARE, MADV_RANDOM,
pmap_page_protect(page, PROT_NONE);
pmap_page_protect(pg, PROT_NONE);
pmap_page_protect(pg, PROT_NONE);
pmap_page_protect(pg, PROT_NONE);
pmap_page_protect(pg, PROT_NONE);
NULL, 0, PROT_NONE, VMCMD_IMMUTABLE);
NULL, 0, PROT_NONE, VMCMD_IMMUTABLE);
trunc_page(pr->ps_strings), PROT_NONE, 0, TRUE, FALSE))
(vaddr_t)vm->vm_minsaddr, PROT_NONE, 0, TRUE, FALSE))
prot = PROT_NONE;
UVM_UNKNOWN_OFFSET, PAGE_SIZE, UVM_MAPFLAG(PROT_NONE,
PROT_NONE, MAP_INHERIT_NONE, MADV_NORMAL, 0)))
pmap_page_protect(oanon->an_page, PROT_NONE);
pmap_page_protect(pg, PROT_NONE);
pmap_page_protect(pg, PROT_NONE);
pmap_page_protect(pg, PROT_NONE);
pmap_page_protect(pg, PROT_NONE);
pmap_page_protect(uobjpage, PROT_NONE);
pmap_page_protect(uobjpage, PROT_NONE);
NULL, UVM_UNKNOWN_OFFSET, 0, UVM_MAPFLAG(PROT_NONE,
PROT_NONE, MAP_INHERIT_NONE, MADV_RANDOM, UVM_FLAG_FIXED)))
NULL, UVM_UNKNOWN_OFFSET, 0, UVM_MAPFLAG(PROT_NONE,
PROT_NONE, MAP_INHERIT_NONE, MADV_RANDOM, UVM_FLAG_FIXED)))
prot != PROT_NONE) {
if (entry->protection == PROT_NONE)
entry->protection != PROT_NONE &&
iter->protection == PROT_NONE)
iter->protection == PROT_NONE)
first->protection == PROT_NONE)
iter->protection == PROT_NONE)
iter->protection == PROT_NONE)
if (old_prot == PROT_NONE && new_prot != old_prot) {
if (old_prot == PROT_NONE) {
if (iter->protection == PROT_NONE) {
if ((iter->protection & mask) == PROT_NONE &&
old_prot == PROT_NONE &&
new_prot != PROT_NONE) {
new_entry->protection != PROT_NONE) {
PROT_NONE, 0) != 0) {
newentry->protection != PROT_NONE)
if (prot != PROT_NONE) {
if (prot != PROT_NONE || (flags & MAP_SHARED)) {
if (!uvm_map_checkprot(map, addr, addr + size, PROT_NONE)) {
if (prot == PROT_NONE) {
pmap_page_protect(pg, PROT_NONE);
pmap_page_protect(pg, PROT_NONE);
pmap_page_protect(p, PROT_NONE);
pmap_page_protect(p, PROT_NONE);
pmap_page_protect(pp, PROT_NONE);
pmap_page_protect(pp, PROT_NONE);
pmap_page_protect(ptmp, PROT_NONE);