Lines Matching refs:exec
39 #include <sys/exec.h>
53 .es_hdrsz = sizeof(struct exec),
86 * Given a lwp pointer and an exec package pointer, see if the referent
92 * the process's vm space and inserting them into the exec package.
101 struct exec *execp = epp->ep_hdr;
103 if (epp->ep_hdrvalid < sizeof(struct exec))
135 * exec_aout_prep_zmagic(): Prepare a 'native' ZMAGIC binary's exec package
137 * First, set of the various offsets/lengths in the exec package.
147 struct exec *execp = epp->ep_hdr;
179 * exec_aout_prep_nmagic(): Prepare a 'native' NMAGIC binary's exec package
185 struct exec *execp = epp->ep_hdr;
196 epp->ep_taddr, epp->ep_vp, sizeof(struct exec),
201 epp->ep_daddr, epp->ep_vp, execp->a_text + sizeof(struct exec),
215 * exec_aout_prep_omagic(): Prepare a 'native' OMAGIC binary's exec package
221 struct exec *execp = epp->ep_hdr;
233 sizeof(struct exec), VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE);