Hello all,

I'm trying to determine the file attributes (mode, owner, group) from an
open() via the syscall probe. I have found fds[] and fileinfo_t and also

    curthread->t_procp->p_user.u_finfo.fi_list[arg0].uf_file->f_vnode

which gets me as far as the vnode.  But I don't see how to get to struct
vattr from there, or if there is a function that will enable me to access
these in the predicate.

Many thanks for any illumination,

Martin.

_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to