Print this page
12046 Provide /proc/<PID>/fdinfo/
@@ -106,11 +106,11 @@
+ roundup(sizeof (core_content_t), sizeof (Word))
+ roundup(sizeof (prsecflags_t), sizeof (Word))
+ (nlwp + nzomb) * roundup(sizeof (lwpsinfo_t), sizeof (Word))
+ nlwp * roundup(sizeof (lwpstatus_t), sizeof (Word))
+ nlwp * roundup(sizeof (prlwpname_t), sizeof (Word))
- + nfd * roundup(sizeof (prfdinfo_t), sizeof (Word));
+ + nfd * roundup(sizeof (prfdinfov1_t), sizeof (Word));
if (curproc->p_agenttp != NULL) {
v[0].p_filesz += sizeof (Note) +
roundup(sizeof (psinfo_t), sizeof (Word));
}
@@ -348,11 +348,11 @@
for (fd = 0; fd < fip->fi_nfiles; fd++) {
uf_entry_t *ufp;
vnode_t *fvp;
struct file *fp;
vattr_t vattr;
- prfdinfo_t fdinfo;
+ prfdinfov1_t fdinfo;
bzero(&fdinfo, sizeof (fdinfo));
mutex_enter(&fip->fi_lock);
UF_ENTER(ufp, fip, fd);