Home
last modified time | relevance | path

Searched refs:bigwad (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c239 } *bigwad; in write_elfnotes() local
244 size_t bigsize = MAX(psize, MAX(sizeof (*bigwad), in write_elfnotes()
270 bigwad = kmem_alloc(bigsize, KM_SLEEP); in write_elfnotes()
283 prgetpsinfo(p, &bigwad->psinfo); in write_elfnotes()
285 bigwad->psinfo.pr_wstat = wstat(CLD_DUMPED, sig); in write_elfnotes()
287 error = elfnote(vp, &offset, NT_PSINFO, sizeof (bigwad->psinfo), in write_elfnotes()
288 (caddr_t)&bigwad->psinfo, rlimit, credp); in write_elfnotes()
307 prgetstatus(p, &bigwad->pstatus, p->p_zone); in write_elfnotes()
308 bigwad->pstatus.pr_lwp.pr_why = 0; in write_elfnotes()
314 error = elfnote(vp, &offset, NT_PSTATUS, sizeof (bigwad->pstatus), in write_elfnotes()
[all …]
H A Dold_notes.c94 } *bigwad; in write_old_elfnotes() local
95 size_t bigsize = sizeof (*bigwad); in write_old_elfnotes()
103 bigwad = kmem_alloc(bigsize, KM_SLEEP); in write_old_elfnotes()
113 oprgetpsinfo(p, &bigwad->psinfo, NULL); in write_old_elfnotes()
115 error = elfnote(vp, &offset, NT_PRPSINFO, sizeof (bigwad->psinfo), in write_old_elfnotes()
116 (caddr_t)&bigwad->psinfo, rlimit, credp); in write_old_elfnotes()
127 bigwad->auxv[i].a_type = up->u_auxv[i].a_type; in write_old_elfnotes()
128 bigwad->auxv[i].a_un.a_val = up->u_auxv[i].a_un.a_val; in write_old_elfnotes()
130 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv), in write_old_elfnotes()
131 (caddr_t)bigwad->auxv, rlimit, credp); in write_old_elfnotes()
[all …]
H A Delf.c300 struct bigwad { in elfexec() struct
307 } *bigwad; /* kmem_alloc this behemoth so we don't blow stack */ in elfexec() local
318 bigwad = kmem_alloc(sizeof (struct bigwad), KM_SLEEP); in elfexec()
319 ehdrp = &bigwad->ehdr; in elfexec()
320 dlnp = bigwad->dl_name; in elfexec()
321 pathbufp = bigwad->pathbuf; in elfexec()
595 aux = bigwad->elfargs; in elfexec()
734 if (error && dlnp != bigwad->dl_name) { in elfexec()
750 bigwad->exenv.ex_brkbase = (caddr_t)PAGESIZE; in elfexec()
751 bigwad->exenv.ex_bssbase = (caddr_t)PAGESIZE; in elfexec()
[all …]