exec
struct exec exec;
if (pread(fd, &exec, sizeof(exec), (off_t)0) != sizeof(exec) ||
N_BADMAG(exec) || fstat(fd, &st) < 0)
symoff = N_SYMOFF(exec);
symsize = (size_t)exec.a_syms;
int exec, void **memp)
if (exec)
struct exec ex;
struct exec *kernexec = (struct exec *)KERNEL_TEXT_BASE;
struct exec *kernexec = (struct exec *)KERNEL_TEXT_BASE;
bool exec = false;
exec = pmap_pte_exec(pte);
if (!exec && type == ALPHA_MMCSR_FOE) {
if (exec) {
static struct exec kernel_exec;
struct exec e;
struct exec ehdr;
struct exec ex;
struct exec *execp = epp->ep_hdr;
struct exec *execp = epp->ep_hdr;
struct exec ah;
struct exec *aout = (struct exec *)edata;
pmap_pte_spill(struct pmap *pm, vaddr_t va, bool exec)
return (*pmapops->pmapop_pte_spill)(pm, va, exec);
int m = N_GETMAGIC(*(struct exec *)addr);
memcpy(addr - sizeof(struct exec), addr, n);
addr -= sizeof(struct exec);
struct exec aout;
load_file(const char *path, unsigned int addr, struct exec *header)
load_file_ino(ino32_t ino, const char *fn, unsigned int addr, struct exec *header)
ufs_read(&dinode, (void *)addr, 0, sizeof(struct exec));
memcpy(header, (void *)addr, sizeof(struct exec));
ufs_read(&dinode, ((char *)addr)-sizeof(struct exec), 0,/* XXX */
struct exec header;
static int load_file (const char*, unsigned int, struct exec *);
static int load_file_ino (ino32_t, const char*, unsigned int, struct exec *);
static void xk_aout(struct execkern_arg *xarg, struct exec *hdr);
struct exec *ahdr;
xk_aout(struct execkern_arg *xarg, struct exec *hdr)
.es_hdrsz = sizeof(struct exec),
struct exec *execp = epp->ep_hdr;
epp->ep_taddr, epp->ep_vp, sizeof(struct exec),
epp->ep_daddr, epp->ep_vp, execp->a_text + sizeof(struct exec),
struct exec *execp = epp->ep_hdr;
sizeof(struct exec), VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE);
struct exec *execp = epp->ep_hdr;
#define LINUX_AOUT_HDR_SIZE (sizeof (struct exec))
((m) == ZMAGIC ? 1024 : ((m) == QMAGIC ? 0 : sizeof (struct exec)))
struct exec *linux_ep = epp->ep_hdr;
if (epp->ep_hdrvalid < sizeof(struct exec))
struct exec *execp = epp->ep_hdr;
struct exec *execp = epp->ep_hdr;
struct exec *execp = epp->ep_hdr;
struct exec *execp = epp->ep_hdr;
struct exec hdr;
struct exec *execp = epp->ep_hdr;
if (epp->ep_hdrvalid < sizeof(struct exec))
struct exec *execp = epp->ep_hdr;
struct exec *execp = epp->ep_hdr;
epp->ep_taddr, epp->ep_vp, sizeof(struct exec),
epp->ep_daddr, epp->ep_vp, execp->a_text + sizeof(struct exec),
struct exec *execp = epp->ep_hdr;
sizeof(struct exec), VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE);
.es_hdrsz = sizeof(struct exec),
struct exec *execp = epp->ep_hdr;
#define SUNOS_AOUT_HDR_SIZE (sizeof(struct exec))
#define SUNOS_N_TXTOFF(x,m) ((m)==ZMAGIC ? 0 : sizeof (struct exec))
struct exec *execp = epp->ep_hdr;
struct exec *execp = epp->ep_hdr;
struct exec *execp = epp->ep_hdr;
struct exec *execp = epp->ep_hdr;
if (epp->ep_hdrvalid < sizeof(struct exec))
sizeof(struct exec), true);
sizeof(struct exec), false);
sizeof(struct exec), true);
sizeof(struct exec), false);
struct exec *execp = epp->ep_hdr;
.es_hdrsz = sizeof(struct exec),
uint32_t exec;
unsigned exec:32;
ip->i_dirent.exec = 0;
+ ip->i_dirent.exec - ((u_int64_t)1725772500 << 7);
struct exec *execp = epp->ep_hdr;
if (epp->ep_hdrvalid < sizeof(struct exec))
struct exec *execp = epp->ep_hdr;
struct exec *execp = epp->ep_hdr;
epp->ep_taddr, epp->ep_vp, sizeof(struct exec),
epp->ep_daddr, epp->ep_vp, execp->a_text + sizeof(struct exec),
struct exec *execp = epp->ep_hdr;
sizeof(struct exec), VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE);
.es_hdrsz = sizeof(struct exec),
#define exec_elf_makecmds ELFNAME2(exec,makecmds)
SDT_PROBE_DEFINE1(proc, kernel, , exec, "char *");
SDT_PROBE(proc, kernel, , exec, path, 0, 0, 0, 0);
struct exec aout;
int loadfile_aout(int, struct exec *, u_long *, int);
loadfile_aout(int fd, struct exec *x, u_long *marks, int flags)
void exec(char *, char *, int);
sizeof(struct exec)) )
geterror(const char *s, int *comp, int *exec)
*exec = 0;
*exec = nv[i].v;
int comp, exec;
geterror(matches, &comp, &exec);
comp = exec = 0;
ATF_REQUIRE_MSG(e == exec, "Expected error %d,"
" got %d at line %zu", exec, e, lineno);
sizeof(struct exec)) )
sizeof(struct exec)) )
hdrp = (struct exec *) aoutdata;
struct exec *hdrp;
struct exec eh;
struct exec aex;
goto exec;
exec:
struct exec ebuf;
nr = read(fd, &ebuf, sizeof(struct exec));
if (nr != sizeof(struct exec)) {
const struct exec *execp;
execp = (const struct exec *)&mappedfile[0];
const struct exec *execp;
execp = (const struct exec *)&mappedfile[0];
struct exec ex, ex_swap;
struct exec ex, ex_swap;
struct exec ex, ex_swap;
struct exec ex;