Linux Kernel | Process Open Files
From: Pranay Srivastava <hidden>
Date: 2016-06-23 07:23:07
From: Pranay Srivastava <hidden>
Date: 2016-06-23 07:23:07
On Thu, Jun 23, 2016 at 11:55 AM, Shahab Khalid [off-list ref] wrote:
Hi all, I am trying to get process open files of active processes. I am reading linux dump. I am able to get actives process. I am trying to reach d_name in dentry structure but unfortunately the I am receiving the denrty ZERO (0). I am reaching the dentry as task_structure->files_struct->fdtable->file->path->dentry till struct path I am receiving some address but dentry is zero.
code listing would be more helpful.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
---P.K.S