| /openbsd-src/sys/kern/ |
| H A D | exec_script.c | 63 exec_script_makecmds(struct proc *p, struct exec_package *epp) in exec_script_makecmds() argument 66 char *hdrstr = epp->ep_hdr; in exec_script_makecmds() 78 scriptvp = epp->ep_vp; in exec_script_makecmds() 79 oldpnbuf = epp->ep_ndp->ni_cnd.cn_pnbuf; in exec_script_makecmds() 85 if ((epp->ep_flags & EXEC_INDIR) != 0 || in exec_script_makecmds() 86 epp->ep_hdrvalid < EXEC_SCRIPT_MAGICLEN || in exec_script_makecmds() 97 hdrlinelen = min(epp->ep_hdrvalid, MAXINTERP); in exec_script_makecmds() 149 script_sbits = epp->ep_vap->va_mode & (VSUID | VSGID); in exec_script_makecmds() 151 script_uid = epp->ep_vap->va_uid; in exec_script_makecmds() 152 script_gid = epp->ep_vap->va_gid; in exec_script_makecmds() [all …]
|
| H A D | exec_subr.c | 121 exec_process_vmcmds(struct proc *p, struct exec_package *epp) in kill_vmcmds() 127 for (i = 0; i < epp->ep_vmcmds.evs_used && !error; i++) { in exec_process_vmcmds() 130 vcp = &epp->ep_vmcmds.evs_cmds[i]; in exec_process_vmcmds() 145 kill_vmcmds(&epp->ep_vmcmds); in exec_process_vmcmds() 376 exec_setup_stack(struct proc *p, struct exec_package *epp) 381 epp->ep_maxsaddr = USRSTACK; in exec_setup_stack() 382 epp->ep_minsaddr = USRSTACK + MAXSSIZ; in exec_setup_stack() 384 epp->ep_maxsaddr = USRSTACK - MAXSSIZ - MAXSSIZ_GUARD; in exec_setup_stack() 385 epp->ep_minsaddr = USRSTACK; in exec_setup_stack() 387 epp in exec_setup_stack() 125 exec_process_vmcmds(struct proc * p,struct exec_package * epp) exec_process_vmcmds() argument 380 exec_setup_stack(struct proc * p,struct exec_package * epp) exec_setup_stack() argument [all...] |
| H A D | exec_elf.c | 347 elf_load_file(struct proc *p, char *path, struct exec_package *epp, in elf_load_file() 380 if ((error = VOP_GETATTR(vp, epp->ep_vap, p->p_ucred, p)) != 0) in elf_load_file() 499 elf_load_psection(&epp->ep_vmcmds, nd.ni_vp, in elf_load_file() 509 epp->ep_entry = addr + eh.e_entry - in elf_load_file() 512 epp->ep_entry += pos; in elf_load_file() 534 NEW_VMCMD(&epp->ep_vmcmds, vmcmd_randomize, in elf_load_file() 541 NEW_VMCMD(&epp->ep_vmcmds, vmcmd_mutable, in elf_load_file() 547 NEW_VMCMD(&epp->ep_vmcmds, vmcmd_mutable, in elf_load_file() 601 exec_elf_makecmds(struct proc *p, struct exec_package *epp) in exec_elf_makecmds() 603 Elf_Ehdr *eh = epp in exec_elf_makecmds() 345 elf_load_file(struct proc * p,char * path,struct exec_package * epp,struct elf_args * ap) elf_load_file() argument 597 exec_elf_makecmds(struct proc * p,struct exec_package * epp) exec_elf_makecmds() argument 940 exec_elf_fixup(struct proc * p,struct exec_package * epp) exec_elf_fixup() argument 1059 elf_os_pt_note(struct proc * p,struct exec_package * epp,Elf_Ehdr * eh,int * namesp) elf_os_pt_note() argument [all...] |
| H A D | kern_exec.c | 123 check_exec(struct proc *p, struct exec_package *epp) in check_exec() argument 130 ndp = epp->ep_ndp; in check_exec() 133 if (epp->ep_flags & EXEC_INDIR) in check_exec() 138 epp->ep_vp = vp = ndp->ni_vp; in check_exec() 147 if ((error = VOP_GETATTR(vp, epp->ep_vap, p->p_ucred, p)) != 0) in check_exec() 157 if ((epp->ep_vap->va_mode & (VSUID | VSGID)) && in check_exec() 164 epp->ep_vap->va_mode &= ~(VSUID | VSGID); in check_exec() 169 if ((epp->ep_vap->va_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) == 0) { in check_exec() 182 error = vn_rdwr(UIO_READ, vp, epp->ep_hdr, epp in check_exec() [all...] |
| /openbsd-src/usr.bin/vi/common/ |
| H A D | search.c | 38 search_init(SCR *sp, dir_t dir, char *ptrn, size_t plen, char **epp, in search_init() argument 68 if (epp != NULL) in search_init() 69 *epp = ptrn + 1; in search_init() 73 if (epp != NULL) in search_init() 74 *epp = ptrn + 2; in search_init() 117 if (epp != NULL) in search_init() 118 *epp = p; in search_init()
|
| /openbsd-src/gnu/usr.bin/binutils/ld/ |
| H A D | ldctor.c | 64 struct set_element **epp; in ldctor_add_set_entry() local 114 for (epp = &p->elements; *epp != NULL; epp = &(*epp)->next) in ldctor_add_set_entry() 116 *epp = e; in ldctor_add_set_entry()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/ld/ |
| H A D | ldctor.c | 64 struct set_element **epp; in ldctor_add_set_entry() local 114 for (epp = &p->elements; *epp != NULL; epp = &(*epp)->next) in ldctor_add_set_entry() 116 *epp = e; in ldctor_add_set_entry()
|
| /openbsd-src/usr.sbin/makefs/msdos/ |
| H A D | msdosfs_lookup.c | 268 … msdosfsmount *pmp, u_long dirclust, u_long diroffset, struct mkfsbuf **bpp, struct direntry **epp) in readep() argument 284 if (epp) in readep() 285 *epp = bptoep(pmp, *bpp, diroffset); in readep() 295 readde(struct denode *dep, struct mkfsbuf **bpp, struct direntry **epp) in readde() argument 298 bpp, epp)); in readde()
|
| /openbsd-src/sys/dev/pcmcia/ |
| H A D | if_ep_pcmcia.c | 243 struct ep_pcmcia_product *epp; in ep_pcmcia_attach() local 325 epp = ep_pcmcia_lookup(pa); in ep_pcmcia_attach() 326 if (epp == NULL) in ep_pcmcia_attach() 329 sc->ep_flags = epp->epp_flags; in ep_pcmcia_attach() 345 epconfig(sc, epp->epp_chipset, enaddr); in ep_pcmcia_attach()
|
| H A D | if_wi_pcmcia.c | 329 const struct wi_pcmcia_product *epp = wi_pcmcia_products + in wi_lookup() local 336 for (pp = wi_pcmcia_products; pp < epp; pp++) { in wi_lookup() 347 for (pp = wi_pcmcia_products; pp < epp; pp++) { in wi_lookup()
|
| /openbsd-src/usr.bin/mg/ |
| H A D | search.c | 743 char *epp, *pp; in backsrch() local 746 for (epp = &pat[0]; epp[1] != 0; ++epp); in backsrch() 765 if (eq(c, *epp, xcase) != FALSE) { in backsrch() 768 pp = epp; in backsrch()
|
| /openbsd-src/sys/msdosfs/ |
| H A D | msdosfs_lookup.c | 883 struct buf **bpp, struct direntry **epp) in readep() argument 899 if (epp) in readep() 900 *epp = bptoep(pmp, *bpp, diroffset); in readep() 910 readde(struct denode *dep, struct buf **bpp, struct direntry **epp) in readde() argument 914 bpp, epp)); in readde()
|
| /openbsd-src/sbin/restore/ |
| H A D | symtab.c | 94 struct entry **epp; in addino() local 99 epp = &entry[inum % entrytblsize]; in addino() 101 np->e_next = *epp; in addino() 102 *epp = np; in addino()
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | cofflink.c | 1573 struct coff_debug_merge_element **epp; in _bfd_coff_link_input_bfd() local 1610 epp = &mt->elements; in _bfd_coff_link_input_bfd() 1625 *epp = bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd() 1626 if (*epp == NULL) in _bfd_coff_link_input_bfd() 1640 (*epp)->name = name_copy; in _bfd_coff_link_input_bfd() 1641 (*epp)->type = islp->n_type; in _bfd_coff_link_input_bfd() 1642 (*epp)->tagndx = 0; in _bfd_coff_link_input_bfd() 1665 (*epp)->tagndx = finfo->sym_indices[indx]; in _bfd_coff_link_input_bfd() 1666 if ((*epp)->tagndx < 0) in _bfd_coff_link_input_bfd() 1667 (*epp)->tagndx = 0; in _bfd_coff_link_input_bfd() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/ |
| H A D | cofflink.c | 1571 struct coff_debug_merge_element **epp; in _bfd_coff_link_input_bfd() local 1608 epp = &mt->elements; in _bfd_coff_link_input_bfd() 1623 *epp = bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd() 1624 if (*epp == NULL) in _bfd_coff_link_input_bfd() 1638 (*epp)->name = name_copy; in _bfd_coff_link_input_bfd() 1639 (*epp)->type = islp->n_type; in _bfd_coff_link_input_bfd() 1640 (*epp)->tagndx = 0; in _bfd_coff_link_input_bfd() 1663 (*epp)->tagndx = finfo->sym_indices[indx]; in _bfd_coff_link_input_bfd() 1664 if ((*epp)->tagndx < 0) in _bfd_coff_link_input_bfd() 1665 (*epp)->tagndx = 0; in _bfd_coff_link_input_bfd() [all …]
|
| /openbsd-src/usr.bin/telnet/ |
| H A D | commands.c | 1431 char **epp, *cp; in env_init() 1434 for (epp = environ; *epp; epp++) { in env_init() 1435 if ((cp = strchr(*epp, '='))) { in env_init() 1437 ep = env_define(*epp, cp+1); in env_init() 1433 char **epp, *cp; env_init() local
|
| /openbsd-src/usr.sbin/portmap/ |
| H A D | portmap.c | 489 xdr_encap_parms(XDR *xdrs, struct encap_parms *epp) in xdr_encap_parms() argument 492 return (xdr_bytes(xdrs, &(epp->args), &(epp->arglen), ARGSIZE)); in xdr_encap_parms()
|
| /openbsd-src/sbin/mountd/ |
| H A D | mountd.c | 1067 struct exportlist **epp; in get_exportlist() 1392 epp = &exphead; in get_exportlist() 1398 epp = &ep2->ex_next; in get_exportlist() 1403 *epp = ep; in get_exportlist() 1052 struct exportlist **epp; get_exportlist() local
|
| /openbsd-src/games/gomoku/ |
| H A D | pickmove.c | 1328 struct elist *ep, *nep, **epp; in markcombo() local
|