Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dimgact_elf.c2625 const char *note_vendor, const Elf_Phdr *pnote, in __elfN()
2635 if (pnote == NULL || pnote->p_filesz > PAGE_SIZE) in __elfN()
2638 if (pnote->p_offset > PAGE_SIZE || in __elfN()
2639 pnote->p_filesz > PAGE_SIZE - pnote->p_offset) { in __elfN()
2640 buf = malloc(pnote->p_filesz, M_TEMP, M_NOWAIT); in __elfN()
2643 buf = malloc(pnote->p_filesz, M_TEMP, M_WAITOK); in __elfN()
2646 error = vn_rdwr(UIO_READ, imgp->vp, buf, pnote->p_filesz, in __elfN()
2647 pnote->p_offset, UIO_SYSSPACE, IO_NODELOCKED, in __elfN()
2654 note_end = (const Elf_Note *)(buf + pnote->p_filesz); in __elfN()
2657 pnote->p_offset); in __elfN()
[all …]