Home
last modified time | relevance | path

Searched refs:PF_W (Results 1 – 25 of 41) sorted by relevance

12

/titanic_51/usr/src/cmd/sgs/size/common/
H A Dprocess.c252 if ((!(p.p_flags & PF_W)) && in process_phdr()
255 } else if ((p.p_flags & PF_W) && in process_phdr()
291 case PF_W: (void) printf("(-w-)"); break; in process_phdr()
292 case PF_W+PF_X: (void) printf("(-wx)"); break; in process_phdr()
295 case PF_R+PF_W: (void) printf("(rw-)"); break; in process_phdr()
296 case PF_R+PF_W+PF_X: (void) printf("(rwx)"); break; in process_phdr()
/titanic_51/usr/src/cmd/sgs/include/i386/
H A Dmachdep_x86.h207 #define M_DATASEG_PERM (PF_R | PF_W)
208 #define M_STACK_PERM (PF_R | PF_W)
210 #define M_DATASEG_PERM (PF_R | PF_W | PF_X)
211 #define M_STACK_PERM (PF_R | PF_W | PF_X)
/titanic_51/usr/src/cmd/sgs/dump/common/
H A Dfcns.c152 case PF_W: in dump_exec_header()
155 case PF_W+PF_X: in dump_exec_header()
164 case PF_R+PF_W: in dump_exec_header()
167 case PF_R+PF_W+PF_X: in dump_exec_header()
/titanic_51/usr/src/cmd/sgs/include/sparc/
H A Dmachdep_sparc.h190 #define M_DATASEG_PERM (PF_R | PF_W | PF_X)
192 #define M_STACK_PERM (PF_R | PF_W)
194 #define M_STACK_PERM (PF_R | PF_W | PF_X)
/titanic_51/usr/src/cmd/sgs/libconv/common/
H A Dphdr.c243 { PF_W, ALL, MSG_PF_W_CF }, in conv_phdr_flags_strings()
252 { PF_W, ALL, MSG_PF_W_NF }, in conv_phdr_flags_strings()
H A Dphdr.msg102 @ MSG_PF_W_CF "PF_W" # 0x2
/titanic_51/usr/src/tools/btxld/
H A Delfh.c89 htole32(PF_R | PF_W), /* p_flags */
H A Dbtxld.c378 if (le32toh(ep->p_flags) & PF_W) in gethdr()
/titanic_51/usr/src/uts/i86pc/dboot/
H A Ddboot_elfload.c136 if (phdr->p_flags == (PF_R | PF_W) && phdr->p_vaddr == 0) { in dboot_elfload64()
/titanic_51/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h193 #define PF_W 0x2 macro
/titanic_51/usr/src/grub/grub-0.97/netboot/
H A Delf.h105 #define PF_W 0x2 /* Writable. */ macro
/titanic_51/usr/src/cmd/sgs/gprof/common/
H A Dreadelf.c155 if ((phdr.p_type == PT_LOAD) && !(phdr.p_flags & PF_W)) { in get_txtorigin()
254 if (!(phdr.p_flags & PF_W) && (phdr.p_filesz > textsize)) { in get_textseg()
/titanic_51/usr/src/uts/common/exec/elf/
H A Delf.c162 (phdrp->p_flags & (PF_R | PF_W | PF_X)) != (PF_R | PF_W | PF_X)) in dtrace_safe_phdr()
381 if (phdrp->p_flags & PF_W) in elfexec()
406 if (dataphdrp->p_flags & PF_W) in elfexec()
976 (phdrp->p_flags & PF_W)) { in elfsize()
1266 if (phdr->p_flags & PF_W) in mapelfexec()
1942 v[i].p_flags |= PF_W; in elfcore()
/titanic_51/usr/src/psm/stand/boot/common/
H A Dreadfile.c459 if (phdr->p_flags == (PF_R | PF_W) && in read_elf32()
500 if (phdr->p_flags & PF_W) in read_elf32()
865 if (phdr->p_flags == (PF_R | PF_W) && in read_elf64()
914 if (phdr->p_flags & PF_W) in read_elf64()
/titanic_51/usr/src/uts/common/os/
H A Dksyms_snapshot.c165 hdr.data_phdr.p_flags = PF_R | PF_W | PF_X; in ksyms_snapshot()
/titanic_51/usr/src/lib/libc/sparc/crt/
H A D_rtld.c269 if (pptr->p_flags & PF_W) in __rtld()
/titanic_51/usr/src/lib/libc/i386/crt/
H A D_rtld.c269 if (pptr->p_flags & PF_W) in __rtld()
/titanic_51/usr/src/cmd/sgs/libld/common/
H A Dmap.c194 tmp_flags |= PF_W; in map_equal_flags()
240 (tmp_flags & (PF_R|PF_W)) == (PF_R|PF_W) && in map_equal_flags()
H A Drelocate.c2210 if ((sgp->sg_phdr.p_flags & PF_W) != wr_flag) in reloc_segments()
2246 ((sgp->sg_phdr.p_flags & PF_W) == 0)) { in reloc_segments()
2449 if (reloc_segments(PF_W, ofl) == S_ERROR) in ld_reloc_init()
2818 (osp->os_sgdesc->sg_phdr.p_flags & PF_W)) in ld_reloc_remain_entry()
H A Dupdate.c387 Word _flags = phd->p_flags & (PF_W | PF_R); in update_osym()
391 else if (_flags == (PF_W | PF_R)) in update_osym()
569 if ((sgp->sg_phdr.p_flags & PF_W) == 0) in update_osym()
2506 (sgp->sg_phdr.p_flags & PF_W) && ofl->ofl_osinterp) { in update_odynamic()
3806 phdr->p_flags = PF_R | PF_W; in ld_update_outfile()
/titanic_51/usr/src/lib/libproc/common/
H A DPidle.c142 if (php->p_flags & PF_W) in idle_add_mapping()
/titanic_51/usr/src/cmd/sgs/prof/common/
H A Drdelf.c375 if ((phdr.p_type == PT_LOAD) && !(phdr.p_flags & PF_W)) { in get_txtorigin()
/titanic_51/usr/src/cmd/sgs/rtld.4.x/
H A Drtld.4.x.c506 if (pptr->p_flags & PF_W)
/titanic_51/usr/src/uts/common/sys/
H A Delf.h515 #define PF_W 0x2 macro
/titanic_51/usr/src/boot/sys/sys/
H A Delf_common.h515 #define PF_W 0x2 /* Writable. */ macro

12