Linux Kernel | Process Open Files

Pranay Srivastava pranjas at gmail.com
Thu Jun 23 03:23:07 EDT 2016


On Thu, Jun 23, 2016 at 11:55 AM, Shahab Khalid <shabiroxx at 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 at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
        ---P.K.S



More information about the Kernelnewbies mailing list