Linux Kernel | Process Open Files
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.
On Thu, Jun 23, 2016 at 11:55 AM, Shahab Khalid <shabiroxx@gmail.com> 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@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- ---P.K.S
participants (2)
-
Pranay Srivastava -
Shahab Khalid