Home
last modified time | relevance | path

Searched refs:PROT_EXEC (Results 26 – 50 of 61) sorted by relevance

123

/illumos-gate/usr/src/uts/common/os/
H A Dmmapobj.c1037 if ((prot & (PROT_WRITE | PROT_EXEC)) == PROT_EXEC) { in mmapobj_map_ptload()
1227 ((mrp[i].mr_prot & PROT_EXEC) != 0)) { in mmapobj_map_elf()
1800 prot |= PROT_EXEC; in process_phdrs()
H A Dshm.c442 prot &= ~PROT_EXEC; in shmat()
525 prot &= ~PROT_EXEC; in shmat()
H A Dexec.c831 args->stk_prot &= ~PROT_EXEC; in gexec()
1285 if ((prot & (PROT_WRITE | PROT_EXEC)) == PROT_EXEC) { in execmap()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dpte.h188 (((attr) & PROT_EXEC) ? TTE_EXECPRM_INT : 0)
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dsys_mman_h.cfg35 value | PROT_EXEC | int | sys/mman.h | +ALL
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_i86.c1160 hati_cpu_punchin(cpu, va, PROT_READ | PROT_EXEC); in hat_pcp_setup()
1195 hati_cpu_punchin(cpu, va, PROT_READ | PROT_EXEC); in hat_pcp_setup()
1584 if (!(attr & PROT_EXEC)) in hati_mkpte()
3102 *attr |= PROT_EXEC; in hat_getattr()
3157 if ((attr & PROT_EXEC) && PTE_GET(oldpte, mmu.pt_nx)) in hat_updateattr()
3170 if (!(attr & PROT_EXEC) && !PTE_GET(oldpte, mmu.pt_nx)) in hat_updateattr()
3182 if ((attr & PROT_EXEC) && !PTE_GET(oldpte, mmu.pt_nx)) in hat_updateattr()
3555 prot |= PROT_EXEC; in hat_share()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dobject.c322 mpp[mnum].mr_prot = (PROT_READ | PROT_WRITE | PROT_EXEC); in elf_obj_fini()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dpte.h231 (((attr) & PROT_EXEC) ? TTE_EXECPRM_INT : 0)
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmp_pc.c100 btop(rm_platter_pa), PROT_READ | PROT_WRITE | PROT_EXEC, in mach_cpucontext_init()
H A Dstartup.c2433 PROT_READ | PROT_WRITE | PROT_EXEC); in release_bootstrap()
2673 PROT_READ | PROT_WRITE | PROT_EXEC); in kvm_init()
2679 PROT_READ | PROT_WRITE | PROT_EXEC); in kvm_init()
H A Dcpr_impl.c465 (PROT_READ|PROT_WRITE|PROT_EXEC|HAT_STORECACHING_OK|HAT_NOSYNC), in map_wakeaddr_1to1()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c1889 if (prot & PROT_EXEC) in prgetmap()
2004 if (prot & PROT_EXEC) in prgetmap32()
2236 if (prot & PROT_EXEC) in prpdread()
2387 if (prot & PROT_EXEC) in prpdread32()
4226 prot &= ~(PROT_READ|PROT_WRITE|PROT_EXEC); in set_watched_page()
4230 prot &= ~(PROT_READ|PROT_WRITE|PROT_EXEC); in set_watched_page()
4308 ~(PROT_READ|PROT_WRITE|PROT_EXEC); in clear_watched_page()
4313 ~(PROT_READ|PROT_WRITE|PROT_EXEC); in clear_watched_page()
4849 if (prot & PROT_EXEC) in prgetxmap()
5050 if (prot & PROT_EXEC) in prgetxmap32()
H A Dprioctl.c3508 if (prot & PROT_EXEC) in oprgetmap()
3572 if (prot & PROT_EXEC) in oprgetmap32()
3752 if (prot & PROT_EXEC) in oprpdread()
3863 if (prot & PROT_EXEC) in oprpdread32()
/illumos-gate/usr/src/test/bhyve-tests/tests/common/
H A Din_guest.c85 PROT_READ | PROT_EXEC); in setup_rom()
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c2244 (addr < errata57_limit) && (attr & PROT_EXEC) && in hat_do_memload()
2248 attr &= ~PROT_EXEC; in hat_do_memload()
2292 (addr < errata57_limit) && (attr & PROT_EXEC) && in hat_devload()
2296 attr &= ~PROT_EXEC; in hat_devload()
2466 (addr < errata57_limit) && (attr & PROT_EXEC) && in hat_do_memload_array()
2470 attr &= ~PROT_EXEC; in hat_do_memload_array()
5133 attr |= PROT_EXEC; in sfmmu_ptov_attr()
5295 ((vprot & PROT_EXEC) == PROT_EXEC); in sfmmu_hblk_chgprot()
5418 case (PROT_EXEC): in sfmmu_vtop_prot()
5419 case (PROT_EXEC | PROT_READ): in sfmmu_vtop_prot()
[all …]
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.c411 (prot & PROT_EXEC)) in valid_usr_range()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_as.c3429 prot &= ~(PROT_READ|PROT_WRITE|PROT_EXEC); in as_setwatch()
3433 prot &= ~(PROT_READ|PROT_WRITE|PROT_EXEC); in as_setwatch()
3516 wprot &= ~(PROT_READ|PROT_WRITE|PROT_EXEC); in as_setwatchprot()
3520 wprot &= ~(PROT_READ|PROT_WRITE|PROT_EXEC); in as_setwatchprot()
H A Dseg_dev.c1445 protchk = PROT_EXEC; in segdev_faultpage()
1449 protchk = PROT_READ | PROT_WRITE | PROT_EXEC; in segdev_faultpage()
1969 protchk = PROT_EXEC; in segdev_faultpages()
1973 protchk = PROT_READ | PROT_WRITE | PROT_EXEC; in segdev_faultpages()
H A Dseg_vn.c176 SEGVN_ZFOD_ARGS(PROT_ZFOD & ~PROT_EXEC, PROT_ALL);
573 a->vp != NULL && a->prot == (PROT_USER | PROT_READ | PROT_EXEC) && in segvn_create()
2758 protchk = PROT_EXEC; in segvn_faultpage()
2762 protchk = PROT_READ | PROT_WRITE | PROT_EXEC; in segvn_faultpage()
3902 protchk = PROT_EXEC; in segvn_fault_vnodepages()
3906 protchk = PROT_READ | PROT_WRITE | PROT_EXEC; in segvn_fault_vnodepages()
4696 protchk = PROT_EXEC; in segvn_fault_anonpages()
4700 protchk = PROT_READ | PROT_WRITE | PROT_EXEC; in segvn_fault_anonpages()
5032 protchk = PROT_EXEC; in segvn_fault()
5036 protchk = PROT_READ | PROT_WRITE | PROT_EXEC; in segvn_fault()
H A Dseg_spt.c2049 if ((rw == S_EXEC) && !(sptd->spt_prot & PROT_EXEC)) in segspt_dismfault()
2262 if ((rw == S_EXEC) && !(sptd->spt_prot & PROT_EXEC)) in segspt_shmfault()
/illumos-gate/usr/src/uts/common/fs/
H A Dgfs.c1120 if ((prot & (PROT_EXEC | PROT_WRITE)) != 0) in gfs_vop_map()
/illumos-gate/usr/src/cmd/truss/
H A Dprint.c705 if (arg & ~(PROT_READ|PROT_WRITE|PROT_EXEC)) in mmap_protect()
716 if (arg & PROT_EXEC) in mmap_protect()
935 if (val & PROT_EXEC) in prt_mc5()
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_passthru.c1139 pi->pi_romoffset, size, PROT_READ | PROT_EXEC) != 0) { in passthru_addr_rom()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_vm.c907 ASSERT((req_prot & (PROT_READ | PROT_WRITE | PROT_EXEC)) != PROT_NONE); in vmspace_lookup_map()
H A Dvmm_instruction_emul.c3054 if (prot & PROT_EXEC) in pf_error_code()
3322 prot = PROT_READ | PROT_EXEC; in vie_fetch_instruction()

123