Searched refs:fdinfo (Results 1 – 2 of 2) sorted by relevance
344 prfdinfo_t fdinfo; in write_elfnotes() local346 bzero(&fdinfo, sizeof (fdinfo)); in write_elfnotes()356 fdinfo.pr_fd = fd; in write_elfnotes()357 fdinfo.pr_fdflags = ufp->uf_flag; in write_elfnotes()358 fdinfo.pr_fileflags = fp->f_flag2; in write_elfnotes()359 fdinfo.pr_fileflags <<= 16; in write_elfnotes()360 fdinfo.pr_fileflags |= fp->f_flag; in write_elfnotes()361 if ((fdinfo.pr_fileflags & (FSEARCH | FEXEC)) == 0) in write_elfnotes()362 fdinfo.pr_fileflags += FOPEN; in write_elfnotes()363 fdinfo.pr_offset = fp->f_offset; in write_elfnotes()[all …]
605 iter_fd(void *data, prfdinfo_t *fdinfo) in iter_fd() argument609 if (write_note(iter->fd_fd, NT_FDINFO, fdinfo, in iter_fd()610 sizeof (*fdinfo), iter->fd_doff) != 0) in iter_fd()