/illumos-gate/usr/src/uts/common/os/ |
H A D | mmapobj.c | 1037 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 D | shm.c | 442 prot &= ~PROT_EXEC; in shmat() 525 prot &= ~PROT_EXEC; in shmat()
|
H A D | exec.c | 831 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 D | pte.h | 188 (((attr) & PROT_EXEC) ? TTE_EXECPRM_INT : 0)
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | sys_mman_h.cfg | 35 value | PROT_EXEC | int | sys/mman.h | +ALL
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_i86.c | 1160 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 D | object.c | 322 mpp[mnum].mr_prot = (PROT_READ | PROT_WRITE | PROT_EXEC); in elf_obj_fini()
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | pte.h | 231 (((attr) & PROT_EXEC) ? TTE_EXECPRM_INT : 0)
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mp_pc.c | 100 btop(rm_platter_pa), PROT_READ | PROT_WRITE | PROT_EXEC, in mach_cpucontext_init()
|
H A D | startup.c | 2433 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 D | cpr_impl.c | 465 (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 D | prsubr.c | 1889 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 D | prioctl.c | 3508 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 D | in_guest.c | 85 PROT_READ | PROT_EXEC); in setup_rom()
|
/illumos-gate/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 2244 (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 D | vm_dep.c | 411 (prot & PROT_EXEC)) in valid_usr_range()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_as.c | 3429 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 D | seg_dev.c | 1445 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 D | seg_vn.c | 176 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 D | seg_spt.c | 2049 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 D | gfs.c | 1120 if ((prot & (PROT_EXEC | PROT_WRITE)) != 0) in gfs_vop_map()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | print.c | 705 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 D | pci_passthru.c | 1139 pi->pi_romoffset, size, PROT_READ | PROT_EXEC) != 0) { in passthru_addr_rom()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_vm.c | 907 ASSERT((req_prot & (PROT_READ | PROT_WRITE | PROT_EXEC)) != PROT_NONE); in vmspace_lookup_map()
|
H A D | vmm_instruction_emul.c | 3054 if (prot & PROT_EXEC) in pf_error_code() 3322 prot = PROT_READ | PROT_EXEC; in vie_fetch_instruction()
|